我需要在用户的 Facebook 墙上发布一张带有用户位置的照片(从相机拍摄)。现在,facebook 照片对象有一个名为place的字段:
object containing id and name of Page associated with this location, and a location field containing geographic information such as latitude, longitude, country, and other fields (fields will vary based on geography and availability of information)
现在我如何获得这个地方,将它与照片一起附加并上传到用户墙。这是我的照片上传代码:
NSMutableDictionary *params = [NSMutableDictionary dictionaryWithObjectsAndKeys:
                                       resultImage, @"picture",
                                       location, @"place",
                                       nil];
        [appDelegate.facebook requestWithGraphPath:@"me/photos"
                                         andParams:params
                                     andHttpMethod:@"POST"
                                       andDelegate:self];
但是,我如何在这里获取位置参数?任何人都可以帮忙吗?提前致谢。