此应用程序禁用向其他用户发布动态消息

2021-12-31 00:00:00 oauth sdk php facebook

在朋友墙上发帖时,我收到此错误:

When posting to my friends wall, I got this error:

此应用程序禁止向其他用户发布动态消息.

Feed story publishing to other users is disabled for this application.

我需要在 Facebook 提交我的申请,还是我做错了什么?

Do I need to submit my application in Facebook, or did I do something wrong?

推荐答案

此功能正在被移除.

https://developers.facebook.com/roadmap/#february-2013

移除通过 Graph API 发布到朋友墙的功能

我们将删除通过图表发布到用户朋友的墙的功能应用程序接口.具体来说,针对 [user_id]/feed 的帖子,其中 [user_id] 是不同于会话用户,或 stream.publish 调用target_id 用户与会话用户不同,会失败.如果你想要允许人们发布到他们朋友的时间线,调用饲料对话框.通过用户提及标记包含朋友的故事或动作标签将显示在朋友的时间线上(假设朋友批准标签).有关详细信息,请参阅此博文.

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.

相关文章