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

2022-01-08 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 向朋友墙发帖的功能

我们将取消通过图表在用户朋友的墙上发帖的功能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.

相关文章