Skip to content
//Facebook Comments Scraper example\\

Threaded comments from a post, 10 comments

Comments in threaded order.

Updated October 21, 2026

Input

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 URLsstartUrls
https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl
Maximum commentsresultsLimit
10
Comments modeviewOption
Most relevant
Include comment repliesincludeNestedComments
No
.json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
    }
  ],
  "resultsLimit": 10,
  "includeNestedComments": false,
  "viewOption": "RANKED_THREADED"
}

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. The advantage lasts forever.

No credit card. No setup calls.