Comments with replies from a post, 10 comments
Top comments and their replies.
Updated December 6, 2026
What this example returns
This example returns up to 10 comments.
The dataset’s “Comments” view shows 8 columns: Name, Profile, Comment, Date, Likes, Depth, Comment URL, and Post URL. See every output field.
What each setting does
The input this example runs Facebook Comments Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.
- Facebook URLs
startUrls https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl
Public post, photo, video, or reel URLs: one comment thread is read per URL. A page URL (e.g. https://www.facebook.com/humansofnewyork) reads the comments of the page's latest posts; set how many under Latest posts per page.
- Maximum comments
resultsLimit 10
How many top-level comments to save per URL. Replies are saved in addition to this number when comment replies are included.
- Comments mode
viewOption All comments
How Facebook orders the comments before they are saved.
- Include comment replies
includeNestedComments Yes
Save replies and replies-to-replies as their own rows, up to three levels.
Default: No → this example uses Yes
{
"startUrls": [
{
"url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
}
],
"resultsLimit": 10,
"includeNestedComments": true,
"viewOption": "RANKED_UNFILTERED"
}What it costs
You pay for the events the actor reports, such as each result or page it produces. Platform usage is included in the event prices: compute, proxies, browser and storage cost nothing extra.
- Commentfrom $0.000636One public comment or reply saved to the dataset.
- Date filterfrom $0.00034A post read with a date filter.
When to use this example
From the Facebook Comments Scraper readme:
Why did I get more rows than Maximum comments?
The limit caps top-level comments. With replies switched on, replies are saved as additional rows.
Why do some comments have no profile link?
Facebook shows a profile link to logged-out visitors only for some people. For the others, the name on the public post is plain text with no link, and the row has no profileUrl. In our checks on public pages, about 6 in 10 commenters had no link. Their name, comment text and date are always saved, and profileId holds the id Facebook gives the commenter.
Other ways to run Facebook Comments Scraper
- Threaded comments from a post, 10 commentsComments in threaded order.
About Facebook Comments Scraper
Extract public comments from Facebook posts, reels, photos, and videos. Returns comment text, timestamps, likes, and basic profile details.
- Price:
- From $0.636 / 1,000 results
- Developer:
- Echofield
- Category:
- Social media
Related actors
Latest articles
GuidesWeb Scraper Chrome Extensions: 4 Good Ones, and When to Use a Cloud Scraper
The best web scraper Chrome extensions in 2026 (Web Scraper, Instant Data Scraper, Data Miner and Evomi Web Data), what each is good at, where every extension stops, and how a cloud scraper takes over for schedules, thousands of pages and API access.
Read the article
AI agents12 Best MCP Servers in 2026: Web Data, Code, Docs and Browsers
The best MCP servers in 2026, grouped by job: web data, documentation, code, browsers, errors, databases and the official reference servers. Each with its hosted URL or install command, how it signs in, and the caveats its own README states.
Read the article
Guidesn8n Puppeteer Node: Puppeteer and Playwright in n8n Without Self-Hosting Chrome
The n8n Puppeteer node needs Chromium inside your n8n container and installs only on self-hosted n8n. How it and the Playwright nodes install, where they break, and how to run the same browser scrape on Scrape.ly from n8n instead, with a real tested run.
Read the article
The internet is full of data.
Start owning yours.
Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes.