gpt4 book ai didi

Facebook Graph API 评论不返回

转载 作者:行者123 更新时间:2023-11-30 05:26:56 26 4
gpt4 key购买 nike

我有一条 Facebook 评论,我想获取评论作者的用户 ID。当评论发布在我拥有的页面上时,我能够通过以下查询获得此信息:

https://graph.facebook.com/v2.11/ comment_id?fields=from&access_token=access_token

但是,当我访问不是在我自己的页面上发布的评论时,同样的方法不起作用,from 字段永远不会返回。是否可以获取发布在不同页面上的评论的作者?

最佳答案

Is it possible to get the author of a comment that is posted on a different page?

不,您不再可以使用该信息。

https://developers.facebook.com/docs/graph-api/changelog/version2.11#gapi-90-pages :

/page/* — User information will not be included in GET responses for any objects owned by (on) a Page unless the request is made with a Page access token. This affects all nodes and edges that return data for objects owned by a Page.

关于Facebook Graph API 评论不返回,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48105702/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com