Facebook Scraping
Get Facebook Comment Data
POST /v1/facebook/comment
#Request
curl -X POST https://scrapingapi.qoest.com/v1/facebook/comment \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.facebook.com/examplepage/posts/1234567890?comment_id=456"}'
#Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
url |
string | yes | A Facebook URL with a numeric comment_id in the query. For a reply, include reply_comment_id too; it takes priority. |
#Response
{
"response": {
"id": "456",
"parent_comment_id": "455",
"url": "https://www.facebook.com/examplepage/posts/1234567890?comment_id=456",
"text": "Comment text",
"author": {
"id": "100000000000002",
"username": null,
"name": "Example User",
"profile_url": "https://www.facebook.com/100000000000002",
"profile_image_url": "https://scontent.example/..."
},
"created_at": "2026-01-01T12:00:00+00:00",
"like_count": 2,
"reply_count": 0
}
}
parent_comment_id is present for replies. Empty fields are left out.
#Pricing
3 credits per successful request.
#Errors
| Status | Body | Charged |
|---|---|---|
200 |
{"message": "Facebook comment not available."} |
no |
403 |
Not enough credits | no |
403 |
The comment is private or not publicly accessible | no |
404 |
{"message": "Facebook comment not found."} |
no |
422 |
The URL has no comment_id, or the comment could not be retrieved |
no |