如何在Facebook上发布路线图不是图像

问题描述:

Facebook正在提供发布路线图的新功能,而不是地图的图像。我已经检查了他们的文档,我发现这个代码,但我得到了很多的工作。

facebook is providing new feature to post route map and not image of map. i have checked their documentation and I found this code but i am getting much what to do

他们给了这种代码

NSMutableDictionary<FBGraphObject> *action = [FBGraphObject graphObject];action[@"course"] = @"http://samples.ogp.me/136756249803614";

[FBRequestConnection startForPostWithGraphPath:@"me/fitness.walks"
                                   graphObject:action
                             completionHandler:^(FBRequestConnection *connection,
                                                 id result,
                                                 NSError *error) {
                                 // handle the result
                             }];


我已经做到了你不能这样做只有IOS你需要使用Php你需要发送数组的经度和纬度到PHP的一面,然后从php侧发布在该地图上我的工作是在IOS我不知道如何在PHP侧面

I have done this. you can not do this with only IOS you need to use Php you need to send array of longitude and latitude to php side and then from php side posting on that map on facebook my job was on IOS i do not know how to do at PHP side