toolzerhub API Docs

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
GET
/v1/facebook/post/comments

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Query Parameters

slug*string

Page vanity slug or numeric id.

Match^[A-Za-z0-9._-]+$
Length1 <= length <= 80
postId*string

Post id from a permalink.

Match^[A-Za-z0-9]+$
Length1 <= length <= 128
cursor?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.

Range1 <= value <= 50
feedbackId?string

Post feedback id from a previous call. With cursor, it skips the post fetch.

Match^[A-Za-z0-9+/=_:-]+$
Length1 <= length <= 256
curl -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"  }}