Facebook Comments
Get the comments on Facebook posts, videos and reels: comment link, text, date, reactions, replies, and the name and profile link of who wrote each.
$0.0007 per comment
POST /api/v1/scrape/facebook-commentsParameters
| Name | Type | Required | Description |
|---|---|---|---|
posts | string[] | Optional | Facebook post, video or reel links (up to 200)Example: ["https://www.facebook.com/nike/posts/pfbid0examplePostId"] |
maxResults | number | Optional | The most comments to return in all (default 100, up to 10,000)Default: 100Example: 100 |
Examples
Comments on a post
curl -X POST https://app.scrapercity.com/api/v1/scrape/facebook-comments \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"posts": [
"https://www.facebook.com/nike/posts/pfbid0examplePostId"
],
"maxResults": 500
}'Check status and download
curl -X GET https://app.scrapercity.com/api/v1/scrape/status/{runId} \
-H "Authorization: Bearer YOUR_API_KEY"
# When status is SUCCEEDED, download the CSV
curl -L https://app.scrapercity.com/api/downloads/{runId} -o facebook-comments.csvUse Cases
- •Find the people engaging with a competitor's posts
- •Read customer questions and complaints under a brand's posts
Best Practices
- •Charged per comment returned; a search is charged at least what it cost to run, shown as a minimum charge
- •Most searches finish in 1-5 minutes
- •maxResults is the total across all posts sent
- •CSV columns: post_url, comment_url, commented_at, text, reactions, replies, author_name, author_url
Every scrape returns a runId. Poll GET /api/v1/scrape/status/{runId} until it completes, then download via GET /api/downloads/{runId}?format=csv.
Authenticate every request with Authorization: Bearer YOUR_API_KEY. See the full API reference for authentication, rate limits and error codes.