Facebook Comments & Replies Scraper
Pricing
from $2.50 / 1,000 results
Facebook Comments & Replies Scraper
Scrapes comments, reaction counts and replies from public Facebook posts.
Pricing
from $2.50 / 1,000 results
Rating
0.0
(0)
Developer
Dataji.io
Maintained by CommunityActor stats
0
Bookmarked
4
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Share
Facebook Post Comments Scraper
Scrape all comments and replies from public Facebook posts, with no login and no Facebook API key needed. Paste one or more post URLs and get every comment with its author, date, reaction count, reply count, attachment, and a direct link to the comment. Replies, including replies to replies, come out as their own rows so the data is easy to use in Excel, Google Sheets or a database.
What can this Facebook comments scraper do?
- 💬 Scrape every top-level comment on a public Facebook post
- ↩️ Scrape all replies and replies to replies, linked to their parent comment
- 👤 Get the commenter's name, profile ID, profile URL and profile picture
- 📅 Get the exact date and time of each comment (ISO 8601, UTC)
- 👍 Get reaction counts as numbers (
1.2Kbecomes1200) - 🖼️ Get images, GIFs and stickers attached to comments
- 📝 Get post details on every row: post text, author, date, total comments, reactions and shares
- 🔗 Works with
/posts/links, share links (facebook.com/share/p/...),permalink.php, photo, video and reel links - 📦 Export to JSON, CSV, Excel, XML or HTML, or pull the data through the Apify API
What data can I extract?
| Field | Description |
|---|---|
type | comment or reply |
text | Comment text |
authorName, authorId, authorUrl, authorProfilePicture | Who wrote the comment |
date | When the comment was posted (UTC) |
reactionCount | Number of reactions on the comment |
replyCount | Number of replies Facebook reports for the comment |
commentId, commentUrl | Comment ID and a direct link to it |
parentCommentId | For replies: the top-level comment this reply belongs to |
replyToCommentId | For replies: the comment or reply it directly answers |
depth | 0 = comment, 1 = reply, 2 = reply to a reply |
attachment | Image / GIF / sticker attached to the comment (type, url) |
postUrl, postId, postAuthor, postText, postDate | The post the comment belongs to |
postCommentCount, postReactionCount, postShareCount | Post totals as shown by Facebook |
How to scrape Facebook comments
- Click Try for free.
- Paste one or more Facebook post URLs.
- Optionally set Max comments per post and whether to include replies.
- Click Start and download your data when the run finishes.
Input
| Field | Description |
|---|---|
| Facebook post URLs | Public post URLs. Page or profile URLs (e.g. facebook.com/NASA) are skipped. |
| Max comments per post | Limit top-level comments per post. 0 = all comments. |
| Include replies | Also scrape replies and replies to replies. On by default. |
| Max replies per comment | Limit replies per comment. 0 = all replies. |
| Proxy configuration | Apify Proxy is used by default. If runs get blocked, switch to the RESIDENTIAL group. |
| Facebook cookies (advanced) | Only for posts you cannot see without logging in. Not needed for public posts. |
Example input:
{"postUrls": [{ "url": "https://www.facebook.com/NASA/posts/pfbid0dPToN66CzcAHGMoaNe3jszH4FfBKvqkE5gogCNJkTxXDPsSGYrGvcVwsLgByyMQQl" }],"maxComments": 100,"includeReplies": true}
Output example
Each comment and each reply is one row:
{"postUrl": "https://www.facebook.com/Cristiano/posts/pfbid02wwWW6zEYdHpCmYbVWEwJMX8QH5ve4izADrhZpPeHxFScJkwEbdLsq9VpoboHpJFLl","postId": "1766904111462788","postAuthor": "Cristiano Ronaldo","postText": "Job done. On to the next one! 💪🏽","postDate": "2026-10-09T20:32:02+00:00","postCommentCount": 26352,"postReactionCount": 733019,"postShareCount": 9846,"type": "comment","commentId": "2623070158154088","commentUrl": "https://www.facebook.com/Cristiano/posts/pfbid02wwWW6zEYdHpCmYbVWEwJMX8QH5ve4izADrhZpPeHxFScJkwEbdLsq9VpoboHpJFLl?comment_id=2623070158154088","parentCommentId": null,"replyToCommentId": null,"depth": 0,"text": "France has Mbappé, Norway has Haaland, Argentina has Messi, but Football has Cristiano Ronaldo. 🐐🇵🇹","date": "2026-10-09T20:32:37+00:00","reactionCount": 2500,"replyCount": 127,"authorName": "Idriss Leadou","authorId": "61577775745961","authorUrl": "https://www.facebook.com/lebienfaiteur1","authorProfilePicture": "https://scontent.xx.fbcdn.net/...","attachment": null}
To rebuild threads, group replies by parentCommentId.
Use cases
- Social listening and brand monitoring: see what people say about your brand, campaign or competitors
- Sentiment analysis: feed comments into an AI or NLP pipeline
- Giveaways and contests: collect every entry from a post's comments
- Market and academic research: study public discussion on news, sports and politics
- Influencer and campaign reports: measure engagement on specific posts
FAQ
Do I need a Facebook account?
No. The scraper works with public posts without logging in. The optional cookies field is only for posts that are not visible when logged out. Using your own account's cookies can get that account restricted, so we recommend a secondary account if you need it.
Why does replyCount not always match the number of scraped replies?
Facebook's reply count includes replies that are hidden, deleted or filtered as low quality, which Facebook does not show to anyone. The scraper returns every reply Facebook actually displays.
Why did my run return no data?
Usually because the URL is not a public post (for example a private group post, or a profile URL), or Facebook blocked the request. The run log and status message say which post failed and why. If Facebook is blocking, switch the proxy to the RESIDENTIAL group.
Can I scrape comments from Facebook groups?
Yes, for posts in public groups. Posts in private groups need cookies from an account that is a member.
Can I use it through the API?
Yes. You can start runs and download results with the Apify API, the Apify JavaScript and Python clients, or integrations like Make, Zapier and Google Sheets.
Is it legal to scrape Facebook comments?
This scraper only collects data that is publicly visible on Facebook. Comments can still contain personal data, which is protected by laws such as the GDPR in the EU. Do not scrape personal data unless you have a legitimate reason, and check with a lawyer if you are unsure. You can read more in Apify's blog post on the legality of web scraping.
Support
Found a bug or need a field that is missing? Open an issue in the Issues tab and we'll take a look.