Facebook Comment Scraper avatar

Facebook Comment Scraper

Pricing

from $1.40 / 1,000 results

Go to Apify Store
Facebook Comment Scraper

Facebook Comment Scraper

Scrape every comment and reply from public Facebook posts, reels, videos and photos with no login or cookies. Get text, author, reactions, media, links and contacts. Rebuild threads, filter by date or keyword, bulk URLs. JSON for sentiment analysis and lead research.

Pricing

from $1.40 / 1,000 results

Rating

0.0

(0)

Developer

Data WiKi

Data WiKi

Maintained by Community

Actor stats

0

Bookmarked

16

Total users

0

Monthly active users

7 days ago

Last modified

Categories

Features

Limited permissions

Share

๐Ÿš€ What is Facebook Comment Scraper?

Facebook Comment Scraper is an Apify Actor that turns public Facebook posts, reels, videos and photos into a table of comments and replies. Paste post links, choose how many comments you want, and receive text, author, reactions, media and links for every row, without a login or cookies.

  • ๐Ÿ’ฌ Replies as their own rows: each reply keeps a parent comment id and a depth, so you can rebuild whole threads.
  • ๐Ÿ‘ Reactions included: the total and the Like, Love and Haha breakdown are saved for every comment.
  • ๐Ÿงน Filters that save money: keep only comments in a date window, with a keyword, with enough reactions, or with media.
  • โšก Bulk and resumable: use it as a Facebook comments scraper for one link or many in a single run, and a capped run returns resume cursors so a later run can continue where it stopped.
  • ๐Ÿ“ก Live results: rows appear in the Output table the moment they are found.

Click Start with the prefilled links to see a first result before you change anything.

๐Ÿ“Š What data can you extract from Facebook comments?

Every comment or reply becomes one row. This facebook comment data is grouped below. As a Facebook comment extractor, the Actor returns every group in the same row. The Output tab also shows it in seven ready-made tables (comments, reply threads, reactions, authors, media and links, contacts, post info).

GroupFieldsWhat you get
Commenttext, created_at, timestamp, comment_id, comment_url, comment_global_idThe comment in its original language, the posting time and a direct link
Threadis_reply, depth, parent_comment_id, reply_to_name, replies_countHow replies connect to their comments, including the reply depth
Reactionsreactions_count, reactions_breakdownTotal and per-type counts such as Like and Love
Authorauthor_name, author_short_name, author_id, author_url, author_profile_picture, author_gender, author_is_verified, author_badges, is_post_ownerCommenter profile links and badges; gender only when public
Media and linksmedia, shared_link, shared_link_preview, shared_post, urls, hashtags, mentions, mentions_countPhotos, GIFs, stickers, videos, shared links, hashtags and tags
Contacts in textemails, phonesOnly what the commenter wrote in the comment
Postpost_id, post_url, input_url, post_title, post_owner, post_comments_total, post_feedback_id, video_timestamp_secThe post each row belongs to; the video second applies to videos and reels

Fields that do not apply to a row, such as parent_comment_id on a top-level comment, are null. A second table, Posts overview, holds one free row per link you gave: status, rows collected and a resume cursor.

๐ŸŽฏ Use cases for Facebook comment data

  • ๐Ÿ’ฌ Scrape Facebook comments for audience research: collect what people say under a brand, news or creator post.
  • ๐Ÿ“ค Extract Facebook comments from a post for your own work: export the text and the counts to a sheet or a database. Many teams use the rows for their own facebook comment analysis.
  • โญ Analyze Facebook comment sentiment with a tool of your choice: the Actor delivers the clean text and counts; it does not score sentiment itself.
  • ๐Ÿ“Š Download Facebook post comments for a report: save one post or many as a file you can share.
  • ๐Ÿ“ธ Scrape Facebook reel comments: see which short videos start a discussion and what viewers write.
  • ๐Ÿ”” Monitor Facebook post reactions: compare reactions_count and the per-type counts across posts.
  • ๐Ÿ”Ž Collect Facebook comments by keyword: keep only comments that mention a product, a competitor or a topic.
  • ๐Ÿ“… Get Facebook comments by date: set a window to look only at comments from a campaign period.
  • ๐Ÿ“ง Find emails in Facebook comments: read the addresses that people wrote in public comments, for outreach you are allowed to do.
  • ๐Ÿ—‚๏ธ Rebuild Facebook comment threads: use the reply fields and depth to see who answered whom.
  • ๐Ÿ‘ฅ Track audience feedback on Facebook: schedule runs and read the new comments only.

๐Ÿ› ๏ธ How to scrape Facebook comments

  1. Open this Apify Facebook comment scraper in Apify Console and click Try for free.
  2. Paste one or more public post, reel, video, photo or share links under Post links.
  3. Set Comments per post (the default is 10; -1 means every comment) and pick a Comment order.
  4. Decide whether to include replies and reactions, and add optional filters for dates, keywords, reactions or media.
  5. Click Start and watch rows appear in the Output tab as they are found.
  6. Export the dataset as JSON, CSV or Excel, or read it with the API.

โ„น๏ธ Start with a small number of comments, check the table, then raise the limit.

๐Ÿ’ฐ How much does it cost to scrape Facebook comments?

Facebook Comment Scraper uses pay per event pricing. One event, main_result, is charged for every comment or reply row saved, so one result equals one item in the dataset. The Apify start event apify-actor-start costs $0.00005 per GB of memory, and the Actor's default memory is 1,024 MB.

Apify planPrice per 1,000 rowsPrice per row
Free$2.00$0.002
Bronze$1.80$0.0018
Silver$1.60$0.0016
Gold$1.40$0.0014
Platinum$1.40$0.0014
Diamond$1.40$0.0014

Example: 1,000 rows at the Free price cost 1,000 x $0.002 = $2.00, and the same 1,000 rows at the Gold price cost 1,000 x $0.0014 = $1.40, plus the start event. Apify platform usage is paid by you on top of the events above. If a request is blocked and the Actor switches to a proxy, that can add proxy cost.

Only saved rows are charged. Posts overview rows are not charged, and rows removed by your filters are not charged. If you set a maximum cost per run in Apify, the run stops cleanly when the limit is reached and keeps the rows it has saved. The Pricing tab always shows the current prices.

โฌ‡๏ธ Input

The only required field is Post links (urls). You can mix posts, reels, videos, photos and share links in one run, which makes this a bulk facebook comment scraper for many links at once.

{
"urls": [
"https://www.facebook.com/CNN/posts/1510975140138256",
"https://www.facebook.com/reel/1397741784161219",
"https://www.facebook.com/share/r/17SLmK3Z9c/"
],
"orderingMode": "ALL",
"targetComments": 10,
"includeReplies": true,
"maxRepliesPerComment": 0,
"includeReactions": true,
"minReactions": 0,
"onlyWithMedia": false
}
FieldDefaultWhat it does
urlsthree example linksPublic Facebook post, reel, video, photo or share links
orderingModeALLMOST_RELEVANT, NEWEST or ALL; ALL returns the most replies
targetComments10Comments to save per post; -1 or 0 means everything. Replies come on top and do not count
includeRepliestrueSave replies as their own rows right after the comment
maxRepliesPerComment0Most replies kept under each comment; 0 keeps every reply
includeReactionstrueAdd reactions_count and reactions_breakdown
newerThan, olderThanemptyA date such as 2026-01-01 or a relative value such as 3 days or yesterday
keywordsemptyKeep only comments containing any of these words or phrases
minReactions0Keep only comments with at least this many reactions
onlyWithMediafalseKeep only comments with a photo, GIF, sticker or video
resumeCursors{}Paste the resumeCursors object from an earlier SUMMARY record to continue
proxyConfigurationno proxyOptional; if a request is blocked, the Actor switches to a proxy by itself

Set onlyWithMedia to true to keep comments with media only. The newerThan and olderThan dates must leave a real window between them. To continue a capped run, copy resumeCursors from the SUMMARY record of the previous run into the same field of the next run, so you can resume a capped run without re-reading comments.

โฌ†๏ธ Output

Each row is one comment or reply. The example below is illustrative and shortened.

{
"post_url": "https://www.facebook.com/example-page/posts/1234567890",
"post_id": "1234567890",
"post_owner": "Example Page",
"post_comments_total": 114,
"comment_id": "111",
"comment_url": "https://www.facebook.com/example-page/posts/1234567890?comment_id=111",
"text": "Great video!",
"created_at": "2025-12-07T08:25:31.000Z",
"timestamp": 1765095931,
"author_name": "Alex Example",
"author_id": "1000000000001",
"author_url": "https://www.facebook.com/1000000000001",
"author_is_verified": false,
"reactions_count": 12,
"reactions_breakdown": { "Like": 10, "Love": 2 },
"replies_count": 4,
"is_reply": false,
"depth": 0,
"parent_comment_id": null,
"media": [],
"urls": [],
"emails": [],
"phones": []
}

The reactions_breakdown field holds the reaction breakdown of each comment. Export from the Storage tab as JSON, CSV or Excel. Every run also saves a SUMMARY record with totals, the rows left out by your filters and any resume cursors, and a short RUN_SUMMARY record with the counts and the final message.

โš ๏ธ Limitations and error handling

  • The Actor reads public content only. Private, deleted, login-gated or restricted posts return a status row and no comments.
  • Facebook can report more comments than it shows to a visitor who is not logged in. The log then tells you that none are visible.
  • Very strict filters stop after a large scan (about 20,000 rows examined per post), and the run stores a resume cursor.
  • Heavy traffic can slow Facebook down. The Actor pauses, retries, and switches to a proxy when blocked. If requests keep failing, the run stops and keeps what it has saved.
  • The same post given twice is read once, and the skipped rows are counted in duplicates_skipped.
  • Some comment orders are not offered on every link type; the Actor then uses the order that is available.

Every link you give gets one row in the Posts overview. A failed link looks like this (illustrative):

{
"input_url": "https://www.facebook.com/example-page/posts/1234567890",
"status": "login required to view this post",
"stop_reason": null,
"post_id": null,
"post_url": null,
"post_owner": null,
"post_comments_total": null,
"rows_collected": 0,
"duplicates_skipped": null,
"resume_cursor": null
}
status valueMeaning
okComments were read; see stop_reason for why collecting ended
not a Facebook post/reel/video/photo URLThe link is not a Facebook post link
unreachableThe post page could not be loaded
login required to view this postFacebook asks for a login before showing the post
skipped (run stopped)The run ended before this link was processed

Common stop_reason values are all comments collected, target reached, spend limit reached, time limit reached and scan limit reached. A run that stops at target reached or at the scan limit saves a resume_cursor; paste it under Resume cursors to continue.

๐Ÿ”Œ Integrating Facebook Comment Scraper with other apps

  • API: start runs and read rows over HTTP with the Apify API. The dataset API returns the rows as a facebook comments api response in JSON, so you can call the Actor from your own code.
  • Schedules: repeat a run every day or week with Apify schedules and use newerThan to look only at new comments.
  • Webhooks: start a workflow when a run finishes with Apify webhooks.
  • Spreadsheets and apps: export Facebook comments to Google Sheets with the Google Sheets integration, and connect the dataset to other apps through Make or Zapier. See all Apify integrations.
  • MCP: AI agents can call the Actor through the Apify MCP server at https://mcp.apify.com?tools=data_wiki/facebook-comment-scraper.

๐Ÿ”— Other scrapers by data_wiki

If you need a social media comment scraper beyond Facebook, the Instagram entry below covers Instagram posts and reels.

ActorWhat it extractsWhen to use it
Scrape posts from Facebook groupsPosts, comments, replies, reactions and member counts of public groupsYou want whole group discussions, not one post
Find Facebook groups by keywordGroup name, member count, privacy and categoryYou research communities before reading their posts
Facebook Marketplace listings scraperPublic Marketplace listings with prices, photos and locationsYou track prices or resale leads
Extract Instagram commentsComments on public Instagram posts and reelsYou compare audience mood across networks
Scrape Threads postsPublic Threads posts, profiles, replies and search resultsYou follow the same topic on Threads

The Actor only reads public Facebook comments, meaning what any visitor can see on public posts, and it does not read private content. Comments can still contain personal data such as names, profile links, emails and phone numbers. Collect and use them only with a legitimate reason, follow GDPR, CCPA and anti-spam rules where they apply, and respect the terms of the site. Apify explains the topic in its guide on the legality of web scraping. If you are unsure, ask a lawyer.

โ“ FAQ

How much does this Facebook comment scraper cost?

You pay per saved row: $0.002 on the Free price down to $0.0014 on Gold and above, plus the start event. The cost section above has the full table and an example.

Do I need a login or cookies?

No. It works as a Facebook comment scraper no login required. It is also a Facebook comment scraper without cookies, because it reads public pages only and never asks for an account or session.

Can I export Facebook comments to Excel, CSV or JSON?

Yes. Open the Storage tab, choose the format and download the file. The same dataset gives you facebook comments to excel files. It also gives facebook comments to csv files. A third choice is facebook comments to json files. This works as a facebook comments export for any app that reads files. It also acts as a facebook comment downloader.

Can I read reel and video comments?

Yes. Paste the reel or video link. Each row carries video_timestamp_sec when a video second is available. The Actor works as a facebook reel comments scraper. It also works as a facebook video comments scraper. For normal posts it acts as a facebook post comments scraper.

Yes. Paste a Facebook share link, and the Actor resolves it to the post first, so share link comments are read like any other post. Short share links of reels work the same way.

Does it also collect replies?

Yes. With Include replies on, each reply is its own row, which makes it a facebook replies scraper. Use parent_comment_id and depth to rebuild the thread.

Can I get emails and phone numbers from comments?

Yes, when people wrote them in the comment text. The emails and phones fields hold what appeared in public comments; the Actor does not look anything up on its own.

Why does it return fewer comments than Facebook shows?

Without a login Facebook can show a visitor fewer comments than the post counter. The Posts overview lists the reported total next to the rows collected. Try ALL as the comment order.

Why is it not working?

Open the Posts overview and read the status of that link. A private, deleted or login-gated post returns no comments, and a link that is not a post is skipped. Check that the post opens for a visitor who is not logged in, then run it again. If it still fails, report it in the Issues tab.

Can I use Facebook Comment Scraper through an MCP server?

Yes. Add the Apify MCP server with https://mcp.apify.com?tools=data_wiki/facebook-comment-scraper and call the Actor with the input fields shown above.

๐Ÿ’ฌ Your feedback

Found a bug or missing a field? Open an issue in the Issues tab of this Actor. Need a custom solution? Contact hello.datawiki@gmail.com.