1

当我尝试使用 facebook graph api 发布到我的朋友时间轴时,我得到了

{"error":{"message":"(#200) 此应用程序禁止向其他用户发布动态消息","type":"OAuthException","code":200}}

在创建 access_token 时启用某些东西会解决这个问题吗?

如果是这样,我应该启用什么。

谢谢,

帕德玛帕萨德 G

4

2 回答 2

2

此功能已于 2 月 6 日删除:http: //developers.facebook.com/roadmap/completed-changes/

看看这里怎么做Facebook 应用程序:fb.api 方法会在朋友的墙上张贴吗?

于 2013-03-15T08:16:08.577 回答
1

是的,这是几个月前宣布的,并于 2 月 6 日生效 - http://developers.facebook.com/roadmap/completed-changes

Removing ability to post to friends walls via Graph API
We will remove the ability to post to a user's friends' walls via the Graph API. Specifically, posts against [user_id]/feed where [user_id] is different from the session user, or stream.publish calls where the target_id user is different from the session user, will fail. If you want to allow people to post to their friends' timelines, invoke the feed dialog. Stories that include friends via user mentions tagging or action tagging will show up on the friend’s timeline (assuming the friend approves the tag). For more info, see this blog post.

解决方法是使用 Feed Dialog,它允许用户发布相同的内容,但选择他们想要发布的用户。

于 2013-09-23T05:45:11.220 回答