List post comments (v1)
Returns a public post's comments with author, text, time, reaction and reply counts. Pass cursor from pageInfo to page. Use feedbackId and expansionToken from a comment to fetch its replies.
1 credit / requestBilled only on success
Authorization
ApiKeyAuth x-api-key<token>
In: header
Query Parameters
slug*string
Page vanity slug or numeric id.
Match
^[A-Za-z0-9._-]+$Length
1 <= length <= 80postId*string
Post id from a permalink.
Match
^[A-Za-z0-9]+$Length
1 <= length <= 128cursor?string
Opaque pagination cursor from a previous response.
count?integer
Target number of comments, default 10. Facebook serves 10 per page, so up to 9 more can be returned.
Range
1 <= value <= 50feedbackId?string
Post feedback id from a previous call. With cursor, it skips the post fetch.
Match
^[A-Za-z0-9+/=_:-]+$Length
1 <= length <= 256curl -X GET "https://example.com/v1/facebook/post/comments?slug=NASA&postId=string" \ -H "x-api-key: YOUR_API_KEY"{ "data": { "comments": [ { "commentId": "string", "feedbackId": "string", "expansionToken": "string", "url": "string", "text": "string", "createdTime": 0, "depth": 0, "author": { "id": "string", "name": "string", "url": "string", "profilePictureUrl": "string" }, "reactionCount": 0, "replyCount": 0 } ], "pageInfo": { "cursor": "string", "hasNextPage": true }, "feedbackId": "string" }, "details": { "reason": "string", "message": "string" }}