Facebook
Facebook Comments API
Getting Started
Amazon Scrapers
- Overview
- Amazon Scraper API
- Amazon Review API
- Amazon Alexa API
E-commerce Scrapers
- Overview
- TikTok Shop
- Walmart
- Costco
- Best Buy
- Sam’s Club
- Target
- Naver Shopping
Social Media Scrapers
- Overview
- Facebook
- Instagram
- Pinterest
- Reddit
- Threads
- TikTok
- Trustpilot
- X
- YouTube
- Naver Cafe
Search engine scrapers
TRO Data API
Playground
- Amazon Scrapers
- E-commerce Scrapers
- Social Media Scrapers
- Facebook
- Instagram
- Pinterest
- Reddit
- Threads
- TikTok
- Trustpilot
- X
- YouTube
- Naver Cafe
- Search engine scrapers
- TRO Data API
Facebook
Facebook Comments API
Send target and only the options listed for this operation. Unlisted options are ignored. Search and comment maxPages defaults to 1 and is capped at 5. Cursors pass through unchanged. Billing: 0.8 points per primary result, including direct replies in explicit reply mode. Included comments and works are free. Facebook includes nested comment replies. One transcript track counts once.
POST
/
api
/
v1
/
social
/
facebook-comments
curl --request POST \
--url https://scrapeapi.pangolinfo.com/api/v1/social/facebook-comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"target": "https://www.facebook.com/watch/?v=28751926967826750"
}'{
"data": {
"type": "comments",
"commentsCount": 123,
"comments": [
{
"avatar": "<string>",
"nickname": "<string>",
"profileUrl": "<string>",
"timeText": {
"text": "<string>",
"value": 123
},
"content": "<string>",
"mood": 123,
"id": "<string>",
"legacyId": "<string>",
"authorId": "<string>",
"authorType": "<string>",
"replyCount": 123,
"url": "<string>",
"depth": 123,
"parentId": "<string>",
"replyCursor": "<string>"
}
],
"commentId": "<string>",
"replies": [
{
"avatar": "<string>",
"nickname": "<string>",
"profileUrl": "<string>",
"timeText": {
"text": "<string>",
"value": 123
},
"content": "<string>",
"mood": 123,
"id": "<string>",
"legacyId": "<string>",
"authorId": "<string>",
"authorType": "<string>",
"replyCount": 123,
"url": "<string>",
"depth": 123,
"parentId": "<string>",
"replyCursor": "<string>"
}
],
"pagination": {
"comments": {
"cursor": "<string>",
"hasMore": true
}
}
},
"meta": {
"requestId": "<string>",
"durationMs": 123
},
"code": 123,
"message": "<string>",
"pointCost": 123,
"billing": {
"unitPrice": 0.8,
"ruleVersion": "social-primary-v2",
"billedCount": 123,
"pointCost": 123,
"counts": {
"primaryCount": 1,
"rootCommentCount": 1,
"replyCount": 1,
"includedWorkCount": 1,
"includedRootCommentCount": 1,
"includedReplyCount": 1
}
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Response
200
application/json
Success or account business error
The response is of type object.
The response is of type object.
The response is of type object.
curl --request POST \
--url https://scrapeapi.pangolinfo.com/api/v1/social/facebook-comments \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"target": "https://www.facebook.com/watch/?v=28751926967826750"
}'{
"data": {
"type": "comments",
"commentsCount": 123,
"comments": [
{
"avatar": "<string>",
"nickname": "<string>",
"profileUrl": "<string>",
"timeText": {
"text": "<string>",
"value": 123
},
"content": "<string>",
"mood": 123,
"id": "<string>",
"legacyId": "<string>",
"authorId": "<string>",
"authorType": "<string>",
"replyCount": 123,
"url": "<string>",
"depth": 123,
"parentId": "<string>",
"replyCursor": "<string>"
}
],
"commentId": "<string>",
"replies": [
{
"avatar": "<string>",
"nickname": "<string>",
"profileUrl": "<string>",
"timeText": {
"text": "<string>",
"value": 123
},
"content": "<string>",
"mood": 123,
"id": "<string>",
"legacyId": "<string>",
"authorId": "<string>",
"authorType": "<string>",
"replyCount": 123,
"url": "<string>",
"depth": 123,
"parentId": "<string>",
"replyCursor": "<string>"
}
],
"pagination": {
"comments": {
"cursor": "<string>",
"hasMore": true
}
}
},
"meta": {
"requestId": "<string>",
"durationMs": 123
},
"code": 123,
"message": "<string>",
"pointCost": 123,
"billing": {
"unitPrice": 0.8,
"ruleVersion": "social-primary-v2",
"billedCount": 123,
"pointCost": 123,
"counts": {
"primaryCount": 1,
"rootCommentCount": 1,
"replyCount": 1,
"includedWorkCount": 1,
"includedRootCommentCount": 1,
"includedReplyCount": 1
}
}
}
