Facebook Comments & Replies Scraper
Pricing
from $1.00 / 1,000 comment or replies
Facebook Comments & Replies Scraper
Scrapes comments, replies and reaction counts from public Facebook posts. Optional AI insights add sentiment, intent and topics to every comment, plus a summary report per post.
Pricing
from $1.00 / 1,000 comment or replies
Rating
0.0
(0)
Developer
Dataji.io
Maintained by CommunityActor stats
0
Bookmarked
19
Total users
1
Monthly active users
3 days ago
Last modified
Categories
Features
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 - 🤖 Optional AI insights: sentiment, intent and topics for every comment, plus a written report per post with real example quotes
- 📦 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. |
| Add AI insights | Off by default. Labels each comment with sentiment, intent, topics and language. |
| Write a report for each post | Used with AI insights. On by default. Writes a short report per post. |
| 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.
AI insights (optional)
Switch on Add AI insights and the scraper reads the comments for you. You don't need your own AI account or key.
On every comment and reply:
| Field | Values |
|---|---|
sentiment | positive, negative, neutral or mixed |
sentimentScore | From -1 (very negative) to 1 (very positive) |
intent | praise, complaint, question, suggestion, purchase_interest, discussion, spam or other |
topics | 1 to 3 short topic labels, such as delivery time or price |
language | Language code of the comment, such as en or es |
insightsStatus | ok, or why the row has no insights: no_text (sticker or image only), failed or skipped |
One report per post, saved in the run's key-value store as INSIGHTS_REPORT.md (easy to read) and INSIGHTS_REPORT (JSON). Find both under Output after the run. Each report has:
- a short summary and the overall mood
- exact sentiment and intent counts, and the most frequent topics
- up to 6 main themes, each with real example comments and links to them
- the main complaints, questions and praise
- suggested next steps
Example quotes are always copied from real comments, never written by the AI. A report needs at least 5 analysed comments on the post.
Cost control. Insights are charged per analysed comment, and reports per report. See the Pricing tab. Comments without text, and comments the AI could not label, are never charged for insights. When your run's spending limit gets close, AI insights stop first and the status message says so. Comments scraped after that are saved without insights for as long as the limit allows.
Use cases
- Social listening and brand monitoring: see what people say about your brand, campaign or competitors
- Sentiment analysis: switch on AI insights, or feed the comments into your own AI or NLP pipeline
- Customer feedback: find complaints, questions and buying interest in the comments on your own posts and ads
- 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.
Where do AI insights come from?
The comment text (as written, including any names people mention or tag in it), the post text and the post author's name are sent to Anthropic's Claude API to be labelled and summarised. Commenters' own names, profile links and IDs are not sent. Leave AI insights off if you don't want comment text processed by an AI service.
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.