简体   繁体   English

在拥有的页面上获得评论

[英]Get comment on owned page

I owned a page on Facebook.我在 Facebook 上拥有一个页面。 My purpose is I want to collect all the comments, replies within my page which is made by user as well as the thread ID of the comment.我的目的是收集用户在我的页面中的所有评论、回复以及评论的线程 ID。

I have read the document of Facebook's Graph API and it describes:我已经阅读了 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

I am confused, I had the access token but the API endpoint looks like:我很困惑,我有访问令牌,但 API 端点看起来像:

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

Does that mean I have to specify a comment-id in order to get it?这是否意味着我必须指定一个评论 ID 才能得到它? May you please help me.请你帮帮我。 Thanks.谢谢。

This would be the correct endpoint: GET /v4.0/{post-id}/comments HTTP/1.1这将是正确的端点:GET /v4.0/{post-id}/comments HTTP/1.1

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

Subcomments: GET /v4.0/{comment-id}/comments HTTP/1.1子评论:GET /v4.0/{comment-id}/comments HTTP/1.1

( Facebook graph API: get the "subcomments" in a tree of a discussion ) Facebook 图 API:在讨论树中获取“子评论”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM