Facebook Comments Scraper: comments and replies

A facebook comments scraper: collect the public comments on a Facebook post, and the replies to a comment, with authors, dates and like counts. Export JSON, CSV or Excel.

$2.91per 1,000 comments on paid plans, $5.00 on the free plan

Open in Apify Store (opens in a new tab)
Collects
Comments
Modes
2

Overview

A busy post can collect thousands of comments, and the post page shows them a few at a time. If you need to read them properly, count them, or hand them to someone for analysis, you want them in a table.

This tool works in two steps. In the Post comments mode you give it links to public Facebook posts. It returns each comment with the author's display name, the time it was posted, the text, the like count and the number of replies. In the Comment replies mode you give it the reply token that a comment row carries in details.facebook.repliesToken, and it returns the replies under that comment with the same fields plus the id of the parent comment.

Splitting the work this way keeps costs predictable. Many comments have no replies at all, so you look at the first run, pick the threads that matter, and fetch only those.

Who uses it? Social media managers who report on campaign posts. Researchers who study how people talk about a topic. Support teams who want to see the questions buried under a launch post.

On Apify, you paste the links, set the maximum number of comments per post, and start the run. The free plan allows up to 100 comments per run, which covers a typical small post. When it finishes, download the dataset as CSV or Excel, or keep it as JSON for code.

What it collects, in 2 modes

Post comments

Collects the public comments on each Facebook post.

$2.91 per 1,000 commentsAbout $5.00 per 1,000 comments on Apify's free plan, from $2.91 per 1,000 on paid plans.

InputTypeExample
Post links requiredFull links of Facebook posts, reels or videos, like https://www.facebook.com/<page>/posts/<id> or https://www.facebook.com/reel/<id>. Short links are not accepted.Listhttps://www.facebook.com/100044561550831/posts/1675983783896991
Max itemsMaximum number of results to collect.Number20
Sample output: Post comments
{
  "author": {
    "displayName": "Example User",
    "id": "936422100183486645",
    "username": null
  },
  "collectedAt": "2026-11-11T01:48:54Z",
  "createdAt": "2026-11-03T16:57:54Z",
  "details": {
    "facebook": {
      "repliesToken": "eyJmIjoiWm1WbFpHSmhZMnM2Y0daaWFXUXdNemxJYzFCcU1YVXpSbVpPYVRrMFRUWlNNa3B3UTBZMlNuWTVUR1o2TjFGSFVEZHhNakpwWlRneGVWQk9ObmsxWjJsWVNIRnVOM2xxUTJONFVHcHFRV2RaZEhSMU56Uk5XV2ROVUV4TGMxUkxNWEl4Y1RsdVpUbHhaRmhTVURWWVNtNHhiQT09IiwiZSI6Ik1qb3hOemswTXpZeE56VXhPZ0ZfbFFsSjlsRWk0N05keFk5TE9wLVZMQ3RZZnltTnVmMXotYmlkME1kWmhobVZheW5ERVdlVGlQUFVSdndFSnpfREc0YUVQOEk2NHFmMFl2blpIRFFpakYwaEFJS1NzWFlMVnY4ODItTUctYjZKektyaG5JczFwX1VVM00yY0xuTVFDaFdsdUVyTDh1aGZHc3pKY1pJX1ZxV2ZYS0hyOWtGVld2QkpDb2lOcmNlWDBUcjI5TjdUYlAteHQ1WUF2dFBGaGc4bHFCX1M3bzFtd1RNcHc5XzdTNER1eGhiUHh4b1FRQlhfblFMWlFOd1ZsLUV5czFsTWRIczNZZ0RFeUFmdS1wbkVrdzh5cG5ieEtPQUFLQ0VleVphT2ZzckRkbnFkamtfMlk3REZxaGdJRXZJS1FmV1pKSzl2SFhIQmlaMzIzZW5rZ09YUFM3a2pDUlhJRE5zRndqbkxOUWVpYWZaM3E4VXlYSy1KeG5FN19uQVpneV9XWTY3Y1JRSnZZZ0M2NUhlaE42TmIxS2RhdW1ORHBJRVN3UFN0SmszOTJDMUFYdEVjWjFqVFVqeWN4WEdXSmFYWm5id0FuRVA1Ml85XzRaZG5JSVRlZVBwY2dqVUpFSERYcFo4bXN1SkRocXg2WkY4ejJ2Z0hRZnFiNF9WcXFwNEIzWVRweXZQaVBqTHJrVWJDaVhQdFdHeDRjOWNRMWs3eXJSNE5aYnRramo2Vk5rcV94cE96S3MtUnRtSzdocmpGZmpscnpmdkNZNG1aSjA4b1NCSVhLdVRwZEk2b00xcnE3bzAwVG1CRTNCbmFkcV9oOHBpX1JjMW5WMC1GRjF1ZyIsImMiOiIxNDk5MDE1MjcyNDI5NjA3In0"
    }
  },
  "id": "1499015272429607",
  "input": {
    "maxItems": 30,
    "url": "https://www.facebook.com/100044561550831/posts/1675983783896991"
  },
  "metrics": {
    "likes": 643,
    "replies": 11
  },
  "platform": "facebook",
  "postId": "1675983783896991",
  "status": "ok",
  "text": "A short example sentence for illustration.",
  "type": "comment"
}

Comment replies

Collects the replies under a comment. Use the replies token from a Post comments run (details.facebook.repliesToken).

$2.91 per 1,000 commentsAbout $5.00 per 1,000 comments on Apify's free plan, from $2.91 per 1,000 on paid plans.

InputTypeExample
Replies tokens requiredReplies tokens copied from details.facebook.repliesToken in a Post comments run.ListeyJmIjoiWm1WbFpHSmhZMnM2Y0daaWFXUXdORU53ZFc5dmNUaDFVRFl5YzNoTU9YRnhWbTB6VFhWcWVYbDZRbWwyYXpKdFVtVTRUVGhrZVRoMFJYZDNlVFo2VVc0Mk1tMTBWMXAxY0ZCQlJuVjNlVzlWWnpKRFRVZzJWRGN4WlZCbGNXbExiVzFsVjNoU1JXMDBibTV1ZGtwMFNESjRiQT09IiwiZSI6Ik1qb3hOemswTXpZeE9ETTRPZ0ZfMU5kTnF4SkxENnl5YkVyajIyaGJNSUJKWjRoVDJkMlBFTl9TdXBweFVROTdoTnJ6X3c5N0dGQjZRUXhtOXg3UnRrTVVSZUJYcEdTSWJ2WnNrS2dGZnhnQ21OY2FPZlFDSGdLMGt6ZUpmeUhJVlFYSm8welB5Q0JoT25hYnE0X016emhXdktCbE02Ykk2Vm9UcU1CRUZGOEVETTEweVpqNnFhUGNDXzVQekk1dGZwNDUxUHlQQW5zMU4tcHQ4TTFPNWpBLWVjR1l4Y195TDQ4bHpNT3BRMlRYNENORG5OSy1PTkF2dHRzUWt1WHpoVVY5Q294amtseHE4c0RnMEp5eGNCT2dZVHpBNEk3aGhqbUtaNVl6aGxhWE5KMzRsZTdiejB5Qy0xODNZa25PNm5RQmFNQWtnQnZMZFlpZW91VnA2MmhxTEZNOVNnM25oN2c4bGppcUV6aXFjTnU0VjFaMTdBT1R0MjZMNmR1RndMWWN2MVFfdTJiT0otbEs1ZjdHdU56TW8xQm5fWnFEMmlyRUR6Z1o3VzlDcF80RlhoX1BBTkpscGttZnF2UzgzWVlTV0hfUXNUWjFWY3hBczlWMGJDYzNCalJjV292M0lwRElpWDR2akV5ZXJyM3VXU2hTQzFpV2lzU2V6ME5ZMHd3WXlmbzlSSHY3MW9tY0tHN0VyajlJb0NONExYc054QTJHdU4xUVJBTlhNa3l0YXBuMXhtdHFReHU0dldpeXJCb0VDUk9qZVcxUnZuSzVfSHhIaFNNX3l4R2JudnhXM2p6X01hcF9xN3g2M3lNdDhvVm8zYXNIUUxYSFIzek0xdFBfTVY1OCIsImMiOiI0NTQxODYyNzA5NDMwMDgwIn0
Max itemsMaximum number of results to collect.Number20
Sample output: Comment replies
{
  "author": {
    "displayName": "Example User",
    "id": "955652081139191823"
  },
  "collectedAt": "2026-11-11T02:52:20Z",
  "createdAt": "2026-11-06T08:07:48Z",
  "details": null,
  "id": "1131639409237192",
  "input": {
    "maxItems": 20,
    "repliesToken": "eyJmIjoiWm1WbFpHSmhZMnM2Y0daaWFXUXdORU53ZFc5dmNUaDFVRFl5YzNoTU9YRnhWbTB6VFhWcWVYbDZRbWwyYXpKdFVtVTRUVGhrZVRoMFJYZDNlVFo2VVc0Mk1tMTBWMXAxY0ZCQlJuVjNlVzlWWnpKRFRVZzJWRGN4WlZCbGNXbExiVzFsVjNoU1JXMDBibTV1ZGtwMFNESjRiQT09IiwiZSI6Ik1qb3hOemswTXpZeE9ETTRPZ0ZfMU5kTnF4SkxENnl5YkVyajIyaGJNSUJKWjRoVDJkMlBFTl9TdXBweFVROTdoTnJ6X3c5N0dGQjZRUXhtOXg3UnRrTVVSZUJYcEdTSWJ2WnNrS2dGZnhnQ21OY2FPZlFDSGdLMGt6ZUpmeUhJVlFYSm8welB5Q0JoT25hYnE0X016emhXdktCbE02Ykk2Vm9UcU1CRUZGOEVETTEweVpqNnFhUGNDXzVQekk1dGZwNDUxUHlQQW5zMU4tcHQ4TTFPNWpBLWVjR1l4Y195TDQ4bHpNT3BRMlRYNENORG5OSy1PTkF2dHRzUWt1WHpoVVY5Q294amtseHE4c0RnMEp5eGNCT2dZVHpBNEk3aGhqbUtaNVl6aGxhWE5KMzRsZTdiejB5Qy0xODNZa25PNm5RQmFNQWtnQnZMZFlpZW91VnA2MmhxTEZNOVNnM25oN2c4bGppcUV6aXFjTnU0VjFaMTdBT1R0MjZMNmR1RndMWWN2MVFfdTJiT0otbEs1ZjdHdU56TW8xQm5fWnFEMmlyRUR6Z1o3VzlDcF80RlhoX1BBTkpscGttZnF2UzgzWVlTV0hfUXNUWjFWY3hBczlWMGJDYzNCalJjV292M0lwRElpWDR2akV5ZXJyM3VXU2hTQzFpV2lzU2V6ME5ZMHd3WXlmbzlSSHY3MW9tY0tHN0VyajlJb0NONExYc054QTJHdU4xUVJBTlhNa3l0YXBuMXhtdHFReHU0dldpeXJCb0VDUk9qZVcxUnZuSzVfSHhIaFNNX3l4R2JudnhXM2p6X01hcF9xN3g2M3lNdDhvVm8zYXNIUUxYSFIzek0xdFBfTVY1OCIsImMiOiI0NTQxODYyNzA5NDMwMDgwIn0"
  },
  "metrics": {
    "likes": 4,
    "replies": 25
  },
  "parentId": "4541862709430080",
  "platform": "facebook",
  "postId": "1678344756994227",
  "status": "ok",
  "text": "A short example sentence for illustration.",
  "type": "comment"
}

Pricing

You pay per result, through your Apify account. Apify's free plan allows up to 100 items per run and 20 runs per day. The Store page always shows the current price.

See the current price in Apify Store (opens in a new tab)

What people use it for

Questions

Are the replies included in the first run?

No. A Post comments run returns the top-level comments. Each comment with replies carries a token you then feed to the Comment replies mode, so you only pay for the threads you care about.

Can I tell which post a comment belongs to?

Yes. Every row has a postId, and the input field shows the link you gave. Replies also carry a parentId that points to the comment above them.

Can I run several posts at once?

Yes. Add one post link per line. The maximum you set applies to each post, not to the whole run.

All Facebook tools

Facebook Comments Scraper from $2.91 / 1,000Open in Store (opens in a new tab)