How to post a comment on Facebook Page as User, not as Page

安稳与你 提交于 2019-12-06 16:13:25

问题


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.


回答1:


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.



来源:https://stackoverflow.com/questions/7329468/how-to-post-a-comment-on-facebook-page-as-user-not-as-page

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!