VOOZH about

URL: https://apify.com/makework36/facebook-comments-scraper

โ‡ฑ Facebook Comments Scraper 2026 - Posts & Pages ยท Apify


๐Ÿ‘ Facebook Comments Scraper - Posts & Pages avatar

Facebook Comments Scraper - Posts & Pages

Pricing

from $0.65 / 1,000 results

Go to Apify Store

Facebook Comments Scraper - Posts & Pages

Scrape Facebook comments from any public post or page. No login needed. Get comment text, author, date, reactions, reply count. Also extracts post info: text, reactions, shares. Pure HTTP.

Pricing

from $0.65 / 1,000 results

Rating

0.0

(0)

Developer

๐Ÿ‘ deusex machine

deusex machine

Maintained by Community

Actor stats

0

Bookmarked

39

Total users

12

Monthly active users

23 days ago

Last modified

Share

Facebook Comments Scraper โ€” Extract Comments, Reactions, Replies & Profile Data from Public Facebook Posts

โญ Useful? Leave a review โ€” it takes 10 seconds and is the single biggest thing that helps other social-media researchers find this Facebook comments scraper.

A fast, reliable Facebook comments scraper that pulls comments, author names, profile pictures, reaction counts, reply counts, posting dates and direct comment URLs from any public Facebook post. Works with regular posts, photos, videos, reels and page updates. No Facebook account, no Graph API token, no developer app required โ€” just clean JSON or CSV data. Built for social-media analysts, brand monitoring teams, sentiment researchers, moderators, customer-support teams, academic researchers and anyone doing Facebook sentiment analysis at scale.

โœจ Why use this scraper

Given a list of public Facebook post URLs and an optional comment cap, this scraper visits each post, switches the comment sort order from Facebook's default "Most relevant" to "All comments" so nothing is hidden, infinitely scrolls the comment thread until the target count is reached, and returns structured records for every top-level comment it finds. You also get (optionally) a summary record for each post with total reaction count, share count and total comment count.

Every run pulls fresh data โ€” Facebook reactions and replies accumulate over time, so the scraper hits the live page each time. Export the dataset as JSON, CSV, Excel, or XML directly from the Apify console or via the Apify API.

Most Facebook comment scrapers on scraper marketplaces fall into one of three traps: they use the official Graph API (which won't return public comments without explicit page-admin authorization), they rely on fragile DOM selectors that break weekly, or they silently skip comments loaded via infinite scroll. This scraper uses a purpose-built browser backend with scroll automation, sort-order switching and rate-limit-aware request pacing โ€” designed specifically for public Facebook content in 2026's DOM.

๐Ÿ“ค Output fields

Comment content

FieldTypeDescription
textstringThe full comment text
datestringWhen it was posted (ISO 8601, computed from Facebook's relative time)
timeAgostringFacebook's relative timestamp label ("2 aรฑos", "16 semanas", etc.)
commentUrlstringDirect link to the individual comment
postUrlstringThe parent post URL
recordTypestringAlways "comment" for comment records

Author profile

FieldTypeDescription
authorNamestringCommenter's display name
authorUrlstringCommenter's Facebook profile or page URL
authorPicturestringCommenter's profile picture URL (when available)

Engagement

FieldTypeDescription
likesCountnumberCombined reaction count on the comment (like + love + haha + wow + sad + angry)
repliesCountnumberNumber of replies this comment received

Post metadata (when includePostInfo is true)

FieldTypeDescription
pageNamestringName of the Facebook page that published the post
reactionsstringTotal reactions on the parent post (human-readable, e.g. "3,2 mil")
sharesstringTotal shares
totalCommentsstringTotal comment count Facebook reports
recordTypestring"post" for post-metadata records

๐ŸŽฏ Use cases

  • Brand sentiment analysis โ€” pull hundreds of comments from product-launch posts and feed them into a sentiment classifier to track how your campaign actually landed.
  • Social listening and crisis monitoring โ€” watch your brand's official page for sudden spikes in negative sentiment or reply volume.
  • Customer support triage โ€” export comments from support-related posts into Zendesk, Freshdesk or your ticketing system for follow-up.
  • Influencer campaign measurement โ€” pull all comments on sponsored posts to compute engagement rate and detect comment farms.
  • Academic research โ€” reproducible datasets for studies on polarization, moderation, hate speech or political discourse on Facebook.
  • Competitive intelligence โ€” monitor comments on your competitors' posts to understand their customers' pain points.
  • Moderation tooling โ€” extract flagged comments and feed them into a moderation pipeline for review.
  • Market research and product discovery โ€” comments on ads and product posts surface unmet needs, feature requests and common objections.

๐Ÿš€ How to use

Scrape comments from a single post

{
"urls":["https://www.facebook.com/CocaCola/posts/pfbid02zmKjSC..."],
"maxComments":200
}

Scrape comments from multiple posts in one run

{
"urls":[
"https://www.facebook.com/nike/posts/...",
"https://www.facebook.com/walmart/posts/...",
"https://www.facebook.com/target/posts/..."
],
"maxComments":100
}

Get every available comment (unlimited mode)

{
"urls":["https://www.facebook.com/MrBeast/posts/..."],
"maxComments":0
}

Setting maxComments to 0 tells the scraper to scroll until Facebook stops returning new comments. Use this for completeness, but be aware that viral posts with tens of thousands of comments can take 10+ minutes.

Scrape comments without post metadata

{
"urls":["https://www.facebook.com/Netflix/posts/..."],
"maxComments":150,
"includePostInfo":false
}

๐Ÿ“ฅ Input

ParameterTypeDefaultDescription
urlsarrayโ€”Facebook post URLs (required). Works with posts, photos, videos, reels
maxCommentsinteger100Comments per post. 0 = collect everything available
includePostInfobooleantrueAlso return a summary record with page name, reaction count, shares and total comments

๐Ÿ“ž Support

This Facebook scraper works with every public post format on Facebook:

  • https://www.facebook.com/PageName/posts/pfbid... โ€” standard post
  • https://www.facebook.com/photo/?fbid=... โ€” photo post
  • https://www.facebook.com/watch?v=... โ€” video post
  • https://www.facebook.com/reel/... โ€” reel
  • https://www.facebook.com/story.php?story_fbid=... โ€” legacy story permalink
  • https://m.facebook.com/... โ€” mobile URL (auto-normalized)

๐Ÿ“‹ Output example

Comment record

{
"postUrl":"https://www.facebook.com/Coca-Cola/posts/pfbid02zmKjSC...",
"commentUrl":"https://www.facebook.com/people/Alessio-Zagami/100036310122448/?comment_id=Y29t...",
"text":"Great drink, drink in moderation",
"date":"2024-03-29T23:48:22.020Z",
"timeAgo":"2 aรฑos",
"authorName":"Alessio Zagami",
"authorUrl":"https://www.facebook.com/people/Alessio-Zagami/100036310122448/",
"authorPicture":"https://scontent-fra3-2.xx.fbcdn.net/v/t39.30808-1/297656494_...",
"likesCount":26,
"repliesCount":19,
"recordType":"comment"
}

Post summary record

{
"postUrl":"https://www.facebook.com/Coca-Cola/posts/pfbid02zmKjSC...",
"pageName":"Coca-Cola",
"reactions":"3,2 mil",
"shares":"540",
"totalComments":"2,6 mil",
"recordType":"post"
}

Export the full dataset as CSV directly from the Apify console, or programmatically via the Apify API.

๐Ÿ’ป Code examples

From the Apify API (curl)

curl-X POST 'https://api.apify.com/v2/acts/makework36~facebook-comments-scraper/run-sync-get-dataset-items?token=YOUR_TOKEN'\
-H'Content-Type: application/json'\
-d'{
"urls": ["https://www.facebook.com/CocaCola/posts/pfbid02zmKjSC..."],
"maxComments": 200,
"includePostInfo": true
}'

From Python (apify-client)

from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("makework36/facebook-comments-scraper").call(run_input={
"urls":[
"https://www.facebook.com/nike/posts/...",
"https://www.facebook.com/adidas/posts/...",
],
"maxComments":150,
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
if item.get("recordType")=="comment":
print(item["authorName"],"โ†’", item["text"][:80],"|", item["likesCount"])

From Node.js (apify-client)

import{ ApifyClient }from'apify-client';
const client =newApifyClient({token:'YOUR_APIFY_TOKEN'});
const run =await client.actor('makework36/facebook-comments-scraper').call({
urls:['https://www.facebook.com/Netflix/posts/...'],
maxComments:300,
includePostInfo:true,
});
const{ items }=await client.dataset(run.defaultDatasetId).listItems();
const comments = items.filter((i)=> i.recordType ==='comment');
console.table(comments.map((c)=>({
author: c.authorName,
likes: c.likesCount,
replies: c.repliesCount,
text: c.text.slice(0,60),
})));

Export to CSV

From the console run page โ†’ Export โ†’ CSV. Or via API:

https://api.apify.com/v2/datasets/DATASET_ID/items?format=csv&token=YOUR_TOKEN

โšก Performance

  • ~30 seconds to scrape the first 100 comments on a public post
  • Viral posts (5,000+ comments) may take 5โ€“15 minutes due to Facebook's infinite scroll throttling
  • Automatic sort switch from Most relevant to All comments so the scraper sees the long tail, not only Facebook's curated selection
  • Runs on browser-capable compute (1 GB recommended)

๐Ÿ“Š Comparison

There are several Facebook comment extraction tools out there. Here's how ours stacks up.

FeatureThis scraperGraph APIโ€“based scraperScraper with residential proxyGeneric "social scraper"
Fields per comment10 (incl. profile picture, comment URL)4โ€“66โ€“84โ€“6
Needs FB login / app credentialsNoYes (page admin)NoNo
Works on any public postYesOnly your own pagesYesPartial
Infinite-scroll paginationYesN/APartialNo (first page only)
Sort switch to "All comments"YesN/ANoNo
Post-level metadata (reactions/shares)Yes (via includePostInfo)PartialNoNo
Supports photos / videos / reelsYesNoPartialPartial
Typical cost per 1K comments~$0.45Free (but rate-limited)$1โ€“$2$0.70โ€“$1.50
ReliabilityHigh (maintained weekly)Depends on FB app reviewMediumLow

The honest take: if you already have a Facebook page and admin credentials, the official Graph API is "free" but hamstrung by permission reviews and only works on pages you control. For scraping comments on any public Facebook post โ€” competitor pages, influencer content, news outlets โ€” this scraper is purpose-built.

๐Ÿ’ต Pricing

Pay-per-result model:

  • $0.45 per 1,000 Facebook comments extracted
  • Apify gives every new user a $5 free trial โ†’ roughly 11,000 comments to evaluate the scraper
  • No subscription, no minimum

โ“ FAQ

Do I need a Facebook account or developer app?

No. This Facebook comments scraper reads publicly available post pages โ€” the same view any browser-less visitor would see. There's no login, no OAuth, no Graph API app review.

Is scraping Facebook comments legal?

This actor reads only publicly visible content. Facebook's Terms of Service restrict automated access; most jurisdictions treat public-page scraping as permissible for research and journalism, but commercial use may carry additional obligations under GDPR (if you collect EU users' personal data). Consult legal counsel for your specific use case.

Does it extract replies to comments as well?

Only top-level comments are extracted in v1. The repliesCount field tells you how many replies each comment has. Full reply-tree extraction is on the roadmap โ€” leave a review requesting it to bump priority.

Are the reaction counts split by emoji type?

No โ€” likesCount aggregates all reaction types (๐Ÿ‘ โค๏ธ ๐Ÿ˜‚ ๐Ÿ˜ฎ ๐Ÿ˜ข ๐Ÿ˜ก). Facebook's per-emoji breakdown isn't available at comment level in the public DOM.

Why are the counts ("3,2 mil") returned as strings?

Facebook localizes and shortens large numbers ("3.2K", "3,2 mil", "1.2M"). Parsing these into raw integers loses information (e.g. "3.2K" could be 3150 or 3249). The scraper returns Facebook's label verbatim so you can parse it in your own locale-aware way.

Does it follow paginated comment threads on older posts?

Yes. The scraper scrolls the comment panel until either maxComments is hit or Facebook stops returning new items.

Can I scrape comments from Facebook groups?

Only public groups where the post is visible without joining. Private or closed groups will not return results.

Does it handle Facebook's consent popup (EU users)?

Yes. The underlying browser backend dismisses the cookie and consent dialogs before extracting comments.

Can I scrape comments with specific keywords only?

Not at input level โ€” the scraper returns all comments, and you filter in your downstream pipeline. This is more flexible (and more cost-efficient) than server-side filtering.

๐Ÿ“ Changelog

  • v1.1 (2026-04-22) โ€” Full SEO rewrite, added Python / Node / curl examples, anonymized comparison table, categorized field list, advanced usage patterns.
  • v1.0 (2026-03-05) โ€” Initial release with multi-URL input, post-summary record, profile picture extraction and sort-switch to "All comments".

๐Ÿ”— Related actors

You might also like

Facebook Comments Scraper

crawlerbros/facebook-comments-scraper

Scrape public comments from Facebook posts, Watch videos, and photo stories. Extract comment text, author info, reactions, timestamps, and nested replies via GraphQL pagination.

142

Facebook Comments Scraperโšก

premiumscraper/facebook-comments-scraper

Scrape Facebook post comments and nested replies. Output includes: comment text, author name & profile URL, timestamp, like count, reply count, attachments, and full reply threads. One clean row per comment. Ideal for NLP and sentiment research โœจFacebook Comments Scraperโšก

๐Ÿ‘ User avatar

Premium Scraper

25

Facebook Posts/Comments Scraper

alien_force/facebook-posts-comments-scraper

Facebook Post Scraper with Comments extracts Facebook post details, including text, author info, likes, shares, and media. It also scrapes comments with user details, engagement metrics, and timestamps. Ideal for social media monitoring, sentiment analysis, and audience insights.

775

5.0

Tiktok Comments Scraper ($0.20 Per 1K)

kawsar/tiktok-comments-scraper

TikTok comment scraper that pulls comments and replies from any public post, so researchers and marketers get usable data without copying a single comment by hand.

Realtor.com Search Cheap (Pay-Per-Result)

kawsar/realtor-Search

Property scraper that extracts Realtor.com listings, prices, and agent details so investors and agents can analyze market data and find deals affordably.

Facebook Comments [$1.5๐Ÿ’ฐ] Scraper

memo23/facebook-comments-scraper

๐Ÿ’ฐ $1.5 per 1,000 results โ€“ No limits, no quotas, unlimited extraction. Extracts Facebook comments with profile data (name, ID, avatar, URL), comment metadata (text, date, likes, replies), post context (title, URL), and threading info for posts, reels, photos, and group content.

๐Ÿ‘ User avatar

Muhamed Didovic

43

5.0

Facebook comment scraper

curious_coder/facebook-comment-scraper

Scrape comments from facebook posts from a user, page, group member etc.

984

4.2

Telegram Channel & Group Scraper

makework36/telegram-channel-scraper

Scrape public Telegram channels and groups. Extract messages, media links, view counts, forwarded info, and member counts. No API key or login required โ€” works with public channels only via t.me web preview.

๐Ÿ‘ User avatar

deusex machine

43

Facebook Comment Free To Use

dz_omar/facebook-comment-scraper

Free To Use: Extract comments & threaded replies from any Facebook post : reels, videos, photos & text posts ๐Ÿ’ฌ. Supports bulk URLs, full pagination, reactions, author data & more ๐Ÿ“Š.

๐Ÿ‘ User avatar

FlowExtract API

137

4.4

TikTok Videos/Comments Scraper

alien_force/tiktok-scraper-with-comments

Scrape TikTok videos data along with their comments and replies. This powerful tool helps you extract structured data from TikTok URLs, including the video details, user, comments, and replies.

214