【问题标题】:Post on friend wall using Graph Api in ios not working [duplicate]在ios中使用Graph Api在朋友墙上发帖不起作用[重复]
【发布时间】:2013-05-08 12:07:01
【问题描述】:

我已经使用 facebook 图表获取了我的朋友 ID,并且在我的朋友墙上发布消息不起作用。

AppDelegate *getdelegate=(AppDelegate *)[[UIApplication sharedApplication]delegate];

[[getdelegate facebook] requestWithGraphPath:[NSString stringWithFormat:@"%@/feed",fbidstr] andParams:params andHttpMethod:@"POST" andDelegate:self];

我正在使用上面的代码。请帮帮我。

【问题讨论】:

标签: iphone ios objective-c xcode facebook


【解决方案1】:

查看 2013 年 3 月 6 日以来的以下更改,发布在 the Facebook Developers' Roadmap 的已完成更改列表中:

移除通过 Graph API 向朋友墙发帖的功能
我们将删除通过 Graph API 向用户朋友的墙发帖的功能。具体来说,针对 [user_id]/feed 的 [user_id] 与会话用户不同的帖子,或 target_id 用户与会话用户不同的 stream.publish 调用将失败。如果您想允许人们发布到他们朋友的时间线,请调用提要对话框。通过user mentions taggingaction tagging 包含朋友的故事将显示在朋友的时间线上(假设朋友批准标签)。如需更多信息,请参阅this blog post

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2023-03-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多