如何以用户而非主页身份在 Facebook 主页上发表评论
我想以用户身份在 Facebook 页面上发表评论。 用户是 Facebook 页面的管理员。 我尝试让我的应用程序使用用户的访问令牌请求以下 URL。
https://graph.facebook.com/[POST_ID]/comments
但该评论是通过主页帐户发布的。
我能够以用户身份在 Facebook 页面上发帖。 我的应用程序使用用户的访问令牌请求以下 URL。
https://graph.facebook.com/[PAGE_ID]/feed
成功了。 使用页面令牌,该帖子已成功以页面帐户发布。
但评论和点赞不能以用户身份发布。 这是图形API的错误吗?请帮我。
I want to post a comment on Facebook Page as User.
The user is admin of the facebook page.
I tried that my app requests the following URL with the user's access token.
https://graph.facebook.com/[POST_ID]/comments
But the comment was posted as Page account.
I was able to post on Facebook Page as User.
My app requests the following URL with the user's access token.
https://graph.facebook.com/[PAGE_ID]/feed
It's successful.
With the pages's token, the post was successfully posted as Page account.
But comment and like can't be posted as User.
Is it a bug of graph API? Please help me.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用用户的访问令牌进行发布,它将显示为来自用户。仅当您在 GraphAPI 中使用从 me/accounts/ 获取的页面访问令牌时,它才会显示为由页面发布。
If you post with the User's Access Token it will show up as being from the user. It will only show up as being posted by the page if you use the Page's Access Token obtained from me/accounts/ in the GraphAPI.