Facebook Comments Scraper
Pricing
from $1.19 / 1,000 results
Facebook Comments Scraper
Facebook Comments Scraper SD - Facebook Comments Scraper is a social media data tool that extracts comments and replies from public Facebook posts, videos and reels with text, author, likes, reply counts and dates, page after page - Facebook comment extractor.
Pricing
from $1.19 / 1,000 results
Rating
0.0
(0)
Developer
Neuro Scraper
Maintained by CommunityActor stats
0
Bookmarked
7
Total users
0
Monthly active users
2 days ago
Last modified
Categories
Features
Share
Facebook Comments Scraper — comments and replies of public posts
The Facebook Comments Scraper collects public Facebook comments and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the Facebook Comments Scraper your input, start it and get structured Facebook data for research, monitoring, analytics or lead generation. You pay only for the results you receive.
⭐ Featured by Neuro Scraper: Facebook Reels Scraper - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. Try the Facebook Reels Scraper →
The Facebook Comments Scraper exports the comments of public Facebook posts, videos and reels with text, author, likes, reply count and date, page after page, and can add the replies under each comment.
It runs on Apify, needs no Facebook login and no cookies, and exports to JSON, CSV, Excel or an API call. Every session key it needs (tokens, query ids, cursors) is read from Facebook on each run, so it keeps working when Facebook ships new code.
What the Facebook Comments Scraper does
- Finds the post's comment thread and follows Facebook's comment cursor.
- Supports Most Relevant, Newest, Oldest and All orders.
- Adds up to N replies under each comment when asked.
- Works with share links.
Who uses the Facebook Comments Scraper
- Brands doing sentiment analysis.
- Community managers collecting feedback.
- Researchers studying public discussions.
How the Facebook Comments Scraper works
Facebook serves public pages, videos and listings to logged-out visitors and embeds the first page of data in the HTML.
Query ids that a page does not preload are read from the JavaScript bundles the page lists, and the variable names of each query come from its own module, so the request always matches Facebook's current code.
Nothing is guessed: if Facebook stops publishing a value the Facebook Comments Scraper needs, the run log names it and the item is skipped instead of being filled with a stale value.
Input of the Facebook Comments Scraper
| Field | Type | Default | What it does |
|---|---|---|---|
postUrls | array | ["https://www.facebook.com/reel/1549207066583030"] | Links to public Facebook posts, videos or reels. |
maxComments | integer | 50 | Top-level comments per post (paginated). |
scrapeReplies | boolean | False | Adds up to "Max replies" replies under each comment. |
maxReplies | integer | 20 | Only used with "Include replies". |
sortMode | string | Most Relevant | Comment order Facebook returns. |
maxTotalItems | integer | 0 | Stops the whole run after this many dataset rows. |
proxyConfiguration | object | {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]} | Facebook limits logged-out visitors per IP address. Residential proxies (the default) give the most reliable results; the Actor switches to a fresh IP when Face |
Example input for the Facebook Comments Scraper:
{"postUrls": ["https://www.facebook.com/reel/1549207066583030"],"maxComments": 50,"maxReplies": 20,"sortMode": "Most Relevant"}
Output of the scraper
Each dataset row is one comment. These are the fields the Facebook Comments Scraper produced in its test runs:
| Field | Meaning |
|---|---|
authorId | authorId |
authorName | Comment author |
authorProfilePicUrl | authorProfilePicUrl |
authorUrl | authorUrl |
commentUrl | commentUrl |
id | Platform id of the item |
inputUrl | inputUrl |
likesCount | Likes (or reactions) count |
parentCommentId | parentCommentId |
postUrl | Post the comment belongs to |
repliesCount | Replies under the comment |
scrapedAt | When this row was read |
text | Post or video text |
timestamp | Publication time (UTC, ISO 8601) |
Fields that Facebook does not publish for an item are left empty rather than guessed. Download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.
Example row from a the scraper test run
A real row from the local test run (long values shortened):
{"id": "1745052216756755","text": "\"Everyone knows that Messi is favored by FIFA, so Ronaldo, you're still the greatest of...","authorName": "PAul le Géant","authorId": "100095372325816","authorUrl": "https://www.facebook.com/people/PAul-le-G%C3%A9ant/100095372325816/","authorProfilePicUrl": "https://scontent.fdac5-2.fna.fbcdn.net/v/t39.30808-1/790268773_906586135863789_91174516...","likesCount": 0,"repliesCount": 8,"timestamp": "2026-07-21T14:16:53.000Z","commentUrl": "https://www.facebook.com/reel/1549207066583030/?comment_id=1745052216756755","parentCommentId": null,"postUrl": "https://www.facebook.com/reel/1549207066583030/","scrapedAt": "2026-10-02T18:53:18.000Z","inputUrl": "https://www.facebook.com/share/v/1HDNKQAZTN/"}
Data quality of the scraper
- Every value in a Facebook Comments Scraper row is read from Facebook during your run; nothing is filled from a cache or an old snapshot.
- Rows are de-duplicated by id inside a run, so the same comment never appears twice in one dataset.
- Counts are numbers you can sort and sum (not "1.2K" text) wherever Facebook publishes the exact number.
- Dates are UTC in ISO 8601 format, which Excel, Google Sheets, Python and SQL all read directly.
The scraper test results
These numbers come from live test runs of the Facebook Comments Scraper on 2026-10-03 (home connection, no proxy). Runs on the Apify platform use residential proxies and can be faster or slower.
| Test | Rows | Time |
|---|---|---|
| 60 comments paginated | 60 | 19 s |
| with replies, newest | 5 | 11 s |
| share link | 10 | 16 s |
The scraper limits, stated plainly
- Measured locally: 60 comments in 19 seconds; 5 comments with replies in 11 seconds.
- Comments hidden by Facebook's filters are not shown to logged-out visitors.
How to run the scraper
- Open the Facebook Comments Scraper in Apify Console and fill in the input fields described above.
- Keep the default residential proxy unless you have a reason to change it; Facebook limits logged-out visitors per IP address.
- Start the run, watch the log, and download the dataset when the status says Done.
- To automate it, call the Facebook Comments Scraper from the Apify API, schedule it, or connect it to Make, Zapier, n8n or Google Sheets through an integration or webhook.
Python example with the Apify API client:
from apify_client import ApifyClientclient = ApifyClient("<YOUR_APIFY_TOKEN>")run_input = {"postUrls": ["https://www.facebook.com/reel/1549207066583030"],"maxComments": 50,"maxReplies": 20,"sortMode": "Most Relevant"}run = client.actor("neuro-scraper/facebook-comments-scraper").call(run_input=run_input)for item in client.dataset(run["defaultDatasetId"]).iterate_items():print(item)
The scraper pricing
The Facebook Comments Scraper uses pay-per-event pricing: you pay per dataset row (event "result"), plus the Apify platform usage of your run. Free-plan users get up to 30 rows per run, which is enough to test the Facebook Comments Scraper on real data.
Set a maximum cost per run in Apify and the Facebook Comments Scraper stops cleanly when it is reached.
Tips for large runs of the scraper
- Start with a small limit to check the Facebook Comments Scraper output, then raise it; the first rows arrive within seconds.
- Split very large jobs into several inputs and run them in parallel tasks; each run gets its own proxy sessions.
- Set a maximum cost per run in Apify; the Facebook Comments Scraper stops cleanly when the budget is reached and keeps every row it already saved.
- Schedule repeat runs instead of one huge run when you track the same targets over time.
- Keep the residential proxy: datacenter IPs are refused by Facebook far more often for logged-out visitors.
The scraper compared with copying by hand
| Facebook Comments Scraper | Manual work | |
|---|---|---|
| Speed | Seconds per page of results | Minutes per item |
| Fields | Every public field, same order every time | Whatever you copy |
| Format | JSON, CSV, Excel, API | Spreadsheet you build yourself |
| Repeatable | Schedule it daily | Start again each time |
| Errors | Logged per item | Unnoticed typos |
Using the scraper in a workflow
- Send every new row to Google Sheets or Airtable with the Apify integration and keep a live table.
- Trigger a Make, Zapier or n8n scenario with a webhook when the run finishes.
- Load the JSON export into Python or BigQuery for analysis and dashboards.
- Use the Apify API: start the Facebook Comments Scraper with a POST request and read the dataset items endpoint when the run finishes.
- Chain it: pass the Facebook Comments Scraper output to another Apify Actor (for example a downloader or a transcript Actor) in an Apify task.
- Export straight to Excel from the dataset tab when you only need a one-off report.
Troubleshooting the scraper
- The run ends with no rows: open the log. The Facebook Comments Scraper writes one line per target saying what Facebook returned, for example a login wall or a missing item.
- Fewer rows than expected: the target may have fewer public items, or Facebook may stop serving more pages to logged-out visitors. The log names the reason.
- Slow run: large limits mean many pages; the Facebook Comments Scraper waits briefly between pages so Facebook keeps answering. Split big jobs into several runs.
- Proxy errors: keep the RESIDENTIAL group. The Facebook Comments Scraper already switches to a fresh IP when one is blocked.
- Free plan stops at 30 rows: that is the free-plan cap of the Facebook Comments Scraper; any paid Apify plan removes it.
What changed in this version of the scraper
- Pay-per-event pricing (one event per row) replaces the old monthly rental; free-plan users can test with 30 rows per run.
- Residential proxy by default, with automatic switch to a fresh IP when Facebook blocks one.
Is it legal to use the scraper?
The Facebook Comments Scraper reads only data that Facebook shows to any logged-out visitor. It never logs in and never touches private content. Personal data may still be in public posts, so check GDPR and the other laws that apply to you before you store or reuse it, and respect Facebook's terms.
Leave a review
If the Facebook Comments Scraper saved you time, please leave a star rating and a short review on its Apify page. Reviews help other users find the Facebook Comments Scraper and tell us what to improve next.
Frequently asked questions
Can the scraper read replies?
Yes. Turn on "Include replies" and set how many per comment.
Does the scraper need my Facebook login?
No. The Facebook Comments Scraper works logged out and never asks for your password or cookies. It reads only what Facebook shows to any visitor.
Do I need my own proxy for the scraper?
No. The Facebook Comments Scraper uses Apify residential proxies by default and switches to a fresh IP when Facebook blocks one. You can choose another proxy in the input.
What formats can I export from the scraper?
JSON, CSV, Excel, XML, HTML and RSS from the dataset tab, or any format through the Apify API, webhooks and integrations.
How fast is the scraper?
In the test runs above the Facebook Comments Scraper took between 11 and 19 seconds per run. Speed depends on how many items you ask for and on the proxy.
Why did the scraper return fewer rows than I asked for?
The Facebook Comments Scraper stops when Facebook has nothing more to show logged out, when your limit is reached, or when the free-plan cap of 30 rows applies. The run log always says which one happened.
Can I schedule the scraper?
Yes. Create a schedule in Apify Console to run the Facebook Comments Scraper daily or hourly and send the results to Google Sheets, Make, Zapier or n8n through an integration.
Can the scraper read private accounts or private groups?
No. The Facebook Comments Scraper reads public data only. Private content needs a login, and the Facebook Comments Scraper never logs in.
What happens when Facebook changes its website?
The Facebook Comments Scraper reads every key it needs from Facebook at run time, so routine changes are picked up automatically. If something can no longer be read, the log says so instead of returning wrong data.
Can I use the scraper with Make, Zapier or n8n?
Yes. Add the Facebook Comments Scraper as an Apify step in Make, Zapier or n8n, or send a webhook when the run finishes and fetch the dataset items from the Apify API.
Does the scraper work in every country?
The Facebook Comments Scraper reads Facebook through residential proxies that rotate across countries. Content that Facebook restricts by country follows those rules.
How do I collect only new items with the scraper?
Schedule the Facebook Comments Scraper and keep the item ids from earlier runs. Every row has a stable id, so a simple de-duplication against your previous export keeps only the new ones.
Can the scraper process many targets in one run?
Yes. Put as many targets as you like in the input; the Facebook Comments Scraper handles them one after another and a failing target never stops the others.
Why use the scraper
The Facebook Comments Scraper is a Facebook scraper and Facebook data extractor for anyone who needs public Facebook comments as clean data. The Facebook Comments Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the Facebook Comments Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.
- No login and no code: the Facebook Comments Scraper runs on Apify with one click or one API call.
- Pay per result: the Facebook Comments Scraper charges only for rows delivered - no monthly Facebook API fee.
- Complete fields: the Facebook Comments Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the Facebook Comments Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.
The scraper use cases
- Market research: the Facebook Comments Scraper collects Facebook comments at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the Facebook Comments Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the Facebook Comments Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the Facebook Comments Scraper keeps a fresh copy of Facebook data through an Apify schedule and a webhook.
- Analytics and dashboards: send the Facebook Comments Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the Facebook Comments Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the Facebook Comments Scraper turns public Facebook data into a dataset you can diff run by run.
- Automation workflows: connect the Facebook Comments Scraper to Zapier, Make or n8n so every new row starts your next step.
How to run it with the API, Python and Node.js
Start the Facebook Comments Scraper from the Apify Console, or call it from code. The Facebook Comments Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the Facebook Comments Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the Facebook Comments Scraper easy to plug into an automation, a data pipeline or a scheduled export.
- Open the Facebook Comments Scraper on Apify and fill in the input (or send the same input as JSON to the API).
- Start the Facebook Comments Scraper. Follow the run log while the Facebook Comments Scraper collects public Facebook data.
- Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
- Schedule the Facebook Comments Scraper to keep your Facebook data fresh for monitoring and analytics.
Tips for better results
- Start small: run the Facebook Comments Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller Facebook Comments Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each Facebook Comments Scraper run adds to your Facebook data over time.
- Filter early: use the input filters of the Facebook Comments Scraper so you only pay for the Facebook comments you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every Facebook Comments Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the Facebook Comments Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.
The scraper FAQ
Get started
Open the Facebook Comments Scraper, paste your input and press Start. In a few minutes the Facebook Comments Scraper hands you clean Facebook data as JSON, CSV or Excel, ready for analytics, monitoring, research or your CRM. Questions or a missing field? Write to us from the Facebook Comments Scraper page on Apify - we answer fast and add features users ask for.
More scrapers from Neuro Scraper
| Actor | What it extracts |
|---|---|
| ⭐ Facebook Reels Scraper | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| Facebook Followers Scraper | Facebook followers with all public fields, exported to JSON, CSV or Excel |
| Facebook Groups Scraper | Facebook groups with all public fields, exported to JSON, CSV or Excel |
| Facebook Hashtag Scraper | Facebook hashtag data with all public fields, exported to JSON, CSV or Excel |
| Facebook ID Finder | Facebook id data with all public fields, exported to JSON, CSV or Excel |
| Facebook Ads Library Scraper | Facebook ads library data with all public fields, exported to JSON, CSV or Excel |
| Facebook Photos Scraper | Facebook photos with all public fields, exported to JSON, CSV or Excel |
| Facebook Posts Scraper | Facebook posts with all public fields, exported to JSON, CSV or Excel |
| Facebook Profile Scraper | Facebook profile data with all public fields, exported to JSON, CSV or Excel |
| Snapchat Profile Scraper | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| Amazon Scraper | Amazon data with all public fields, exported to JSON, CSV or Excel |
| Instagram Reels Scraper | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| Facebook Video Details Scraper | Facebook video details with all public fields, exported to JSON, CSV or Excel |

