在拥有的页面上发表评论

问题描述 投票:0回答:1

我在Facebook上拥有一个页面。我的目的是我想收集所有评论,页面中由用户做出的回复以及评论的线程ID。

我已经阅读了Facebook Graph API的文档,它描述了:

Page owned Comments and Replies — For any comments or replies owned by (on) a Page, you must use a Page access token if you want User information to be included in the response

我很困惑,我有访问令牌,但API端点看起来像:

GET /v4.0/{comment-id} HTTP/1.1

这是否意味着我必须指定一个注释ID才能获得它?请你帮我一下。谢谢。

python facebook facebook-page
1个回答
0
投票

这将是正确的端点:GET /v4.0/{post-id}/comments HTTP / 1.1

https://developers.facebook.com/docs/graph-api/reference/post/

子注释:GET /v4.0/{comment-id}/注释HTTP / 1.1

Facebook graph API: get the "subcomments" in a tree of a discussion

© www.soinside.com 2019 - 2024. All rights reserved.