如何在Facebook页面上发表评论作为用户,而不是页面 [英] How to post a comment on Facebook Page as User, not as Page

查看:304
本文介绍了如何在Facebook页面上发表评论作为用户,而不是页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在Facebook页面上发表评论为用户。
用户是Facebook页面的管理员。
我试过我的应用程序请求使用用户访问令牌的以下URL。

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] /评论

但评论已发布为页面帐户。

But the comment was posted as Page account.

我能够在Facebook页面上以用户身份发布。
我的应用程序请求使用用户访问令牌的以下URL。

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.

但是评论等不能作为用户发布。
是图API的错误吗?请帮助我。

But comment and like can't be posted as User. Is it a bug of graph API? Please help me.

推荐答案

如果您使用用户访问令牌发布,它将显示为来自用户。如果您在GraphAPI中使用从我/ 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.

这篇关于如何在Facebook页面上发表评论作为用户,而不是页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆