我在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才能获得它?请你帮我一下。谢谢。
答案 0 :(得分:0)
这将是正确的端点:GET /v4.0/{post-id}/comment 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)