Facebook Comments Scraper avatar

Facebook Comments Scraper

Pricing

from $0.01 / 1,000 results

Go to Apify Store
Facebook Comments Scraper

Facebook Comments Scraper

🔍 Facebook Comments Scraper extracts public comment data fast—capturing text, usernames, timestamps & engagement. Perfect for brand research, sentiment analysis, and market insights. 🚀 Easy to use, reliable results.

Pricing

from $0.01 / 1,000 results

Rating

0.0

(0)

Developer

Scraperoka

Scraperoka

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

4 days ago

Last modified

Share

Facebook Comments Scraper 🚀

Manually copying comment threads from Facebook posts is slow, inconsistent, and impossible to scale. Facebook Comments Scraper automatically collects comment text, engagement metrics, and timestamps from Facebook post URLs—ideal for marketers, researchers, and growth teams who need comment data in bulk. Use Facebook Comments Scraper to scrape Facebook comments, extract Facebook comment text, and build datasets from comment collectors or Facebook comment analytics workflows in a single run, often in minutes.


What You Get: Sample Output

Here's a sample record from a single run:

{
"facebookUrl": "https://www.facebook.com/examplepage/posts/123456789012345",
"commentUrl": "https://www.facebook.com/examplepage/posts/123456789012345?comment_id=987654321098765",
"commentId": "987654321098765",
"id": "1234567890987654321",
"feedbackId": "ZmVlZGJhY2s6NjM3NTIxOTM0MjU1MjExMg==",
"date": "2025-06-01T09:14:22.000Z",
"text": "Really helpful—thanks for sharing! 🙌",
"profilePicture": "https://example.com/profile.jpg",
"profileId": "111222333444",
"profileName": "Jane Doe",
"likesCount": "12",
"commentsCount": 3,
"comments": [],
"threadingDepth": 0,
"facebookId": "555666777888",
"postTitle": "Example post title text",
"inputUrl": "https://www.facebook.com/examplepage/posts/123456789012345",
"pageAdLibrary": {
"is_business_page_active": false,
"id": "999888777666"
}
}

Output Fields

FieldTypeWhat It Tells You
facebookUrlstringThe Facebook post URL the comment belongs to
commentUrlstring | nullA direct link to the specific comment when available
commentIdstring | nullThe comment identifier, useful for deduplication
idstring | nullThe internal relay ID associated with the comment node
feedbackIdstring | nullThe feedback identifier used for pagination context
datestring | nullTimestamp in Zulu/ISO format for when the comment was created
textstring | nullThe actual Facebook comment text (the core field for analytics)
profilePicturestring | nullAuthor profile picture URI (helps with enrichment)
profileIdstring | nullAuthor profile ID for linking back to user records
profileNamestring | nullDisplay name of the commenter
likesCountstringLike/reactor count for engagement scoring (stored as a string)
commentsCountnumberReply count shown at the comment level
commentsarrayNested comments container (empty in the provided extraction structure)
threadingDepthnumberThreading depth value (0 in this extracted output structure)
facebookIdstring | nullPost-level identifier value (where available)
postTitlestring | nullThe post title text extracted along with the thread
inputUrlstringThe original URL you provided as the scrape target
pageAdLibraryobject | nullPage/group context captured alongside comment extraction

Export your dataset as JSON, CSV, or Excel — straight from the Apify dashboard.


Why Facebook Comments Scraper?

There are a lot of ways to pull data from Facebook — here’s what sets Facebook Comments Scraper apart.

Scrape comments from Facebook posts with structured output

Facebook Comments Scraper returns clean, integration-ready JSON objects with comment text, author details, timestamps, and engagement fields. If you’re building a Facebook post comments scraper pipeline, you’ll get consistent records ready for analysis or storage.

Flexible ranking modes for different analysis needs

Choose how comments are ordered using the built-in commentsMode setting. Whether you need the full set (All) or a focus on a specific view, Facebook comments mining tool workflows stay straightforward.

Resilient pagination and batch collection

The actor continues collecting comments across multiple pages until your limits are met. It also uses resilience patterns for request handling so you can run larger comment scraping software jobs with fewer interruptions.

Supports scaling with built-in proxy configuration

When reliability matters (for large batches or repeated runs), Facebook Comments Scraper supports proxy configuration to help you keep scraping stable.


Configuring Your Run

Drop this into your input.json to get started:

{
"startUrls": [
{
"url": "https://www.facebook.com/humansofnewyork/posts/pfbid0BbKbkisExKGSKuhee9a7i86RwRuMKFC8NSkKStB7CsM3uXJuAAfZLrkcJMXxhH4Yl"
},
{
"url": "https://www.facebook.com/examplepage/posts/123456789012345"
}
],
"resultsAmount": 50,
"includeReplies": false,
"commentsMode": "All",
"proxyConfiguration": {
"useApifyProxy": true,
"apifyProxyGroups": [
"RESIDENTIAL"
]
}
}
ParameterRequiredWhat It Does
startUrlsList of Facebook post URLs to scrape (each item can be an object with url)
resultsAmountMaximum comments to scrape per URL
includeRepliesIf enabled, replies to comments will also be scraped
commentsModeRanking mode for comments: Most relevant, Newest, or All
proxyConfigurationProxy settings for the run (optional, defaults to enabled Apify Proxy behavior if you don’t override it)
↳ proxy supportWhether to route requests through Apify Proxy
↳ proxy supportProxy group(s) to use when proxying is enabled

Core Capabilities

Comment text extraction for Facebook comment analytics

Facebook Comments Scraper extracts the comment text field along with author metadata and timestamps. This makes it a practical Facebook comment extractor for sentiment analysis, thematic categorization, and engagement reporting.

Track engagement: likes and reply counts

Each record includes likesCount and commentsCount (reply count at the comment level). With this, your Facebook comments API scraper output can support ranking, quality scoring, and workload estimation.

Clean author identity fields

You get profileName, profileId, and profilePicture (when available), so you can connect comment authors to other datasets. This is especially useful for Facebook comments download tool workflows where you enrich and deduplicate across runs.

Ordering control with commentsMode

Set commentsMode to choose the ranking behavior for comments as they’re collected. This supports both broad scraping and more targeted Facebook comments mining tool use cases.

Captures post context alongside comments

Output records include fields like facebookUrl, inputUrl, and postTitle when available. That context makes scrape Facebook comments outputs easier to interpret and join back to campaigns.


Who Gets the Most Out of This

Here's how different teams put Facebook Comments Scraper to work:

Social media marketers — Use it as a tool to scrape Facebook comments from top-performing posts, then analyze what resonates by pulling comment text and engagement into your reporting dataset.

Community managers — Build a comment collector dataset to review recurring questions, objections, and feedback themes across posts without manually copying threads.

Lead generation researchers — Pair scraped comment insights with your existing outreach criteria, using author identity fields and timestamps to time engagement follow-ups based on activity patterns.

Data analysts and growth researchers — Use the structured output fields (likes, reply counts, dates, and comment text) to run trend analysis, moderation prioritization, and content performance scoring.

Automation engineers — Integrate the Facebook post comments scraper output into pipelines for scheduled runs, enrichment, and downstream systems using the Apify dataset as the source of truth.


Step-by-Step: How to Use It

No coding needed. Here's how to run Facebook Comments Scraper from start to finish:

  1. Open the actor on Apify — visit console.apify.com and open Facebook Comments Scraper.
  2. Enter your inputs — add your Facebook post URLs in startUrls, and optionally set resultsAmount, includeReplies, and commentsMode.
  3. Configure proxy settings — if you expect heavy volume or want extra reliability, enable the actor’s proxy configuration option in the UI.
  4. Hit Run and watch the live log — monitor progress as comments are collected across your provided URLs.
  5. View results in the dataset tab — each collected comment record is stored in the Apify dataset as structured JSON.
  6. Export as JSON, CSV, or Excel — download directly from the dataset tab for use in your dashboards, CRM imports, or analysis tools.

The whole process takes under 5 minutes to set up.


Integrations & Export Options

Once your data is collected, Facebook Comments Scraper plugs directly into your existing workflow.

You can export results in the Apify dashboard from the dataset tab as JSON, CSV, or Excel. If you use tools like Sheets or Airtable, export and import is the simplest route, while no-code options can also automate movement of scraped comments into your systems.

For programmatic usage, you can access the output via the Apify API (see apify.com/docs/api). You can also use webhooks and connect workflows with Zapier or Make to push results to your CRM, Slack, or other downstream tools.


Pricing & Free Trial

Facebook Comments Scraper runs on the Apify platform, which offers a free tier — no credit card required to get started. You can use the free allowance for several test runs and validate that your comment scraping results match your needs.

When you scale up, Apify pricing is based on compute usage, and you typically pay for platform compute rather than a per-row fee. For exact current costs and plan details, check the pricing page on apify.com.

Start for free at apify.com and scale when you're ready.


Reliability & Performance

What We HandleHow
Request resilienceUses retries and fallback handling to reduce run failures
Stable comment collectionContinues collecting across pagination until your resultsAmount limit is reached
Proxy supportOptional proxy configuration helps improve reliability for sustained scraping
Output consistencyEach run writes structured comment records to the Apify dataset
Error toleranceRuns are designed to avoid total failure when individual requests encounter issues

Limitations: Facebook Comments Scraper works with publicly accessible content available for scraping. If the page content limits access or is not available in the expected public view, fewer records may be returned. For enterprise-scale runs, contact us to discuss custom configurations.


Frequently Asked Questions

Is there a free plan or trial for Facebook Comments Scraper?

Apify provides a free tier for actors, which is a good way to validate Facebook comments scraping output before scaling. Availability and included credits depend on your Apify account and current platform rules.

Do I need to log in to Facebook to use this?

No. Facebook Comments Scraper is designed to work with publicly accessible Facebook post pages using the URLs you provide in startUrls.

How accurate is the data from Facebook Comments Scraper?

Accuracy depends on what is available in the public post comments for the URLs you provide. The actor extracts comment text and associated metadata that are present in the publicly available content.

How many results can I get per run?

You control volume with resultsAmount, which sets the maximum comments to scrape per URL. If you add multiple URLs in startUrls, the actor processes each and caps comments per target.

How often is the data updated / how fresh is it?

Data freshness is based on when you run the actor. For the most up-to-date comments, run Facebook Comments Scraper again on your desired schedule.

This actor extracts publicly available data from Facebook posts that are accessible without login. Compliance with GDPR, CCPA, and any applicable platform rules is ultimately your responsibility when storing or processing comment data.

Can I export results to Google Sheets or Excel?

Yes. You can export the dataset directly from the Apify dashboard as JSON, CSV, or Excel. From there, you can import into Google Sheets or any other spreadsheet/BI tool that accepts CSV or Excel.

Can I run this on a schedule automatically?

Yes. You can schedule Apify actor runs using Apify’s scheduling capabilities, so Facebook comments scraper jobs run automatically at the cadence you choose.

Can I access this via API?

Yes. You can use the Apify API to trigger runs and fetch dataset results programmatically. See apify.com/docs/api for details.

What happens if the actor hits an error?

The actor is designed to be resilient and continues collecting where possible. Some errors may be handled gracefully so the overall run can still complete and store whatever results were captured.


Need Help or Have a Request?

Got a question about Facebook Comments Scraper or want a new feature added? Reach out at dataforleads@gmail.com. We welcome requests and feedback, and we actively maintain this actor to improve Facebook comment scraping reliability.

If you want enhancements like additional dataset fields or different export-ready formatting, email us with your use case.


Disclaimer & Responsible Use

Facebook Comments Scraper is the fastest, most reliable way to scrape and structure Facebook comment text at scale — start your free run today.

This actor collects publicly available data from Facebook post pages. It does not access private accounts, login-gated content, or password-protected pages. You are responsible for complying with GDPR, CCPA, and any applicable platform rules when you store, process, or reuse scraped data. For data removal requests, contact dataforleads@gmail.com. Use responsibly, ethically, and only for lawful purposes.