如何在Facebook上发布路线图不是图像 [英] how to post route map on facebook not image

查看:129
本文介绍了如何在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

这篇关于如何在Facebook上发布路线图不是图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆