Facebook Comments Scraper - Posts & Pages
Pricing
Pay per usage
Facebook Comments Scraper - Posts & Pages
Scrape Facebook comments from any public post or page. No login needed. Get comment text, author, date, reactions, reply count. Also extracts post info: text, reactions, shares. Pure HTTP.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
oscar lira
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Share
Facebook Comments Scraper
Get comments from any public Facebook post. Drop in a URL, get back structured data — author, text, likes, replies, profile picture, and direct links.
Works with regular posts, photos, videos, and reels. No Facebook account or API key required.
What you get
Every comment includes 10 fields:
{"postUrl": "https://www.facebook.com/Coca-Cola/posts/pfbid02zmKjSC...","commentUrl": "https://www.facebook.com/people/Alessio-Zagami/100036310122448/?comment_id=Y29t...","text": "Great drink, drink in moderation","date": "2024-03-29T23:48:22.020Z","timeAgo": "2 años","authorName": "Alessio Zagami","authorUrl": "https://www.facebook.com/people/Alessio-Zagami/100036310122448/","authorPicture": "https://scontent-fra3-2.xx.fbcdn.net/v/t39.30808-1/297656494...","likesCount": 26,"repliesCount": 19}
That's real output from a Coca-Cola post with 2,600 comments.
When includePostInfo is on, you also get the post metadata:
{"postUrl": "https://www.facebook.com/Coca-Cola/posts/pfbid02zmKjSC...","pageName": "Coca-Cola","reactions": "3,2 mil","shares": "540","totalComments": "2,6 mil","recordType": "post"}
Fields
| Field | Type | Description |
|---|---|---|
text | string | The comment itself |
authorName | string | Who wrote it |
authorUrl | string | Their Facebook profile link |
authorPicture | string | Profile photo URL (when available) |
commentUrl | string | Direct link to the comment |
date | string | When it was posted (ISO 8601) |
timeAgo | string | Relative time from Facebook ("2 años", "16 semanas") |
likesCount | number | Reactions on the comment |
repliesCount | number | How many people replied |
postUrl | string | Which post it belongs to |
How to use
Paste a Facebook post URL and set how many comments you want:
{"urls": ["https://www.facebook.com/CocaCola/posts/pfbid02zmKjSC..."],"maxComments": 200}
For multiple posts:
{"urls": ["https://www.facebook.com/nike/posts/...","https://www.facebook.com/walmart/posts/..."],"maxComments": 100}
Input
| Parameter | Default | What it does |
|---|---|---|
urls | — | Facebook post URLs. One or more. |
maxComments | 100 | Comments per post. 0 = get everything. |
includePostInfo | true | Also return post reactions, shares, and comment count. |
What URLs work
Anything from a public Facebook page:
https://www.facebook.com/PageName/posts/pfbid...— regular posthttps://www.facebook.com/photo/?fbid=...— photo posthttps://www.facebook.com/watch?v=...— videohttps://www.facebook.com/reel/...— reel
Pricing
$0.45 per 1,000 comments. You only pay for results you get.
A post with 500 comments costs about $0.23. No monthly fees, no subscriptions.
Things to know
- Facebook shows comments sorted by "Most relevant" by default. The scraper switches to "All comments" to get the full list, including spam.
- Profile pictures are available for the first batch of commenters. Commenters loaded via scroll may not have pictures (Facebook doesn't include them in the DOM for anonymous visitors).
- The
datefield is calculated from the relative time Facebook shows ("2 years ago", "16 weeks ago"). It's approximate, not exact. repliesCounttells you how many replies a comment has, but the replies themselves are not extracted (only top-level comments).- Private posts, group posts behind login, and restricted content won't return results.
FAQ
How many comments can I get per post? Depends on the post. The scraper loads all available comments using Facebook's infinite scroll. Posts with thousands of comments may take a few minutes.
Do I need a Facebook account? No. The scraper accesses public posts the same way anyone without an account would.
Why are some profile pictures missing? Facebook only sends profile photos for the first ~10 commenters in the initial page load. Commenters loaded via scroll get placeholder images instead. This is a Facebook limitation, not a scraper issue.
Are reactions "likes" or all reactions? All reactions — likes, love, haha, wow, sad, and angry combined into one number.