我在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才能获得它?你能帮帮我吗。谢谢
这将是正确的端点:GET/v4.0/{post id}/comments HTTP/1.1
(https://developers.facebook.com/docs/graph-api/reference/post/)
子命令:GET/v4.0/{comment id}/comments HTTP/1.1
(Facebook graph API: get the "subcomments" in a tree of a discussion)
相关问题 更多 >
编程相关推荐