Facebook API Graph - 将状态更新发布到 Facebook 页面
我正在按照 Facebook 开发人员文档将帖子作为页面本身发布到 Facebook“页面”,根据文档,这需要模拟。通过调用页面管理员用户的“帐户”提要,我获得了页面本身的访问令牌以及页面的 ID。 进行 POST
https://graph.facebook.com/[Page_ID]/feed
然后,我使用帖子项目
access_token
并
message
包含访问令牌和消息,然后我会收到一个带有帖子 ID 的 JSON 字符串。这一切似乎都表明它正在将消息发布到页面。但是,当我转到特定页面时,它不会显示发布状态。
有人可能知道为什么会这样吗?
预先感谢大家!
I am following the Facebook developer documentation for making a post to a Facebook 'Page' as the Page itself, which according to the docs requires impersonation. I've gotten the access token for the page itself, as well as the Page's ID, by making a call to the "accounts" feed for the user who's the admin for the Page. I then POST to
https://graph.facebook.com/[Page_ID]/feed
With the post items
access_token
and
message
containing the access token and the message, and I get a JSON string back with a post ID. Which all seems to indicate that it is posting the message to the page. HOWEVER, when I go to the particular Page, it doesn't display the posted status.
Does anyone perhaps have any idea why that might be?
Thanks in advance everyone!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您是否确保获得用户的“publish_stream”权限?
http://developers.facebook.com/docs/authentication/permissions
Did you make sure to get the "publish_stream" permission from the user?
http://developers.facebook.com/docs/authentication/permissions