# 🚀 Facebook Comments Scraper · 10,000 Free Comments/Month (`omkar-cloud/facebook-comments-scraper`) Actor

Facebook Comments Scraper gets you Facebook data ⚡ fast, 🎯 100% accurate and 🔍 ridiculously detailed — every comment and reply of any public post, with authors and reactions. 💰 $0.50 per 1,000 comments, no start fee. Scrape your first 10,000 comments free every month 🚀

- **URL**: https://apify.com/omkar-cloud/facebook-comments-scraper.md
- **Developed by:** [Omkar Cloud](https://apify.com/omkar-cloud) (community)
- **Categories:** Social media, Lead generation, Developer tools
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.50 / 1,000 comments

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Facebook Comments Scraper

Facebook Comments Scraper by Omkar Cloud gets you 🎯 accurate, 🔍 detailed Facebook comments.

Facebook puts its login wall in front of its posts to stop you from getting the data. Facebook Comments Scraper beats it — no account, no login, no cookies — and reads Facebook live on every run, so you get every comment and reply of any public post, and can successfully complete your project.

**$0.50 per 1,000 comments.** And with Apify's free plan you get $5 of credit every month, so your first **~10,000 comments each month are free**.

This is an excellent Actor made by Omkar Cloud, which is Rated Excellent — [4.7 based on 37 reviews on Trustpilot](https://www.trustpilot.com/review/omkar.cloud).

👉 [**Try Facebook Comments Scraper free**](https://apify.com/omkar-cloud/facebook-comments-scraper) — your first ~10,000 comments are Free.

### What can I get

- 💬 **Every comment of any public post** — page after page, up to 5,000 per post
- 🧵 **Every reply too** (optional) — right after its comment, with `parent_comment_id`
- 👤 **Who said it** — author name, profile link, picture and verified flag
- ❤️ **Reactions & reply counts** — on every comment
- 🔀 **Three sort orders** — most relevant, newest first, or all comments unfiltered

### Why Facebook Comments Scraper

Most other Facebook comment scrapers fail you in one of four ways:

- 🧩 **Low-detail data** — the top comments only, never the replies
- 🗄️ **Inaccurate, cached, stale data** — yesterday's reactions are useless
- 💸 **Pay more to get the same data** — $2.50 per 1,000 comments elsewhere, plus a start fee
- 🪦 **Works today, breaks next month** — nobody maintains it

Facebook Comments Scraper reads Facebook live, is priced honestly, and actively maintained.

### Example: Fans on Taylor Swift's "Patient Zero" Post

```json
{
  "source": "https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl",
  "post_total_comments": 6640,
  "parent_comment_id": null,
  "id": "1652451162913362_1643445824061766",
  "post_id": "1652451162913362",
  "text": "Where is the petition for a full length film? I’ve got my pen ready.",
  "created_at": "2026-09-28T01:37:46Z",
  "depth": 0,
  "author_id": "601275594",
  "author_name": "Taylar Green",
  "author_link": "https://www.facebook.com/profile.php?id=601275594",
  "author_type": "user",
  "reactions": 1200,
  "reply_count": 46
}
```

*Trimmed for readability.* Every row also carries `link` (opens the comment), `post_link`, `legacy_id`, `author_picture`, `author_is_verified` and `attachments` (photos, GIFs, stickers or links in the comment).

### Get Started with 10,000 Free Comments

1. [Hit **Try for Free Button**](https://apify.com/omkar-cloud/facebook-comments-scraper) — the input is pre-filled with Taylor Swift's "Patient Zero" post.
2. Enjoy your data 😎.

### Pricing

High value, Low price.

| What | Price | What you get |
|---|---|---|
| **Comments** | **$0.50 per 1,000** | A comment or reply — text, author, time, reactions, reply count and the post it belongs to |

No start fee, one flat price on every plan — you pay only for the rows you get. Control your spend with **Max Comments per Post**.

💡 Apify's free plan includes $5 of credit every month — about **10,000 free comments, every month**.

👉 [**Scrape your first 10,000 comments free**](https://apify.com/omkar-cloud/facebook-comments-scraper)

### Run It from Code

Grab your API token from [Integrations Settings here](https://console.apify.com/settings/integrations) and replace `<YOUR_API_TOKEN>` below.

**Python** (`pip install apify-client`)

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_API_TOKEN>")
run = client.actor("omkar-cloud/facebook-comments-scraper").call(run_input={
    "postUrls": ["https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl"],
    "sort": "newest",
    "includeReplies": True,
    "maxCommentsPerPost": 1000,
})
for row in client.dataset(run["defaultDatasetId"]).iterate_items():
    print("  " * row["depth"], row["reactions"], row["author_name"], row["text"][:80])
```

**Node.js** (`npm install apify-client`)

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: '<YOUR_API_TOKEN>' });
const run = await client.actor('omkar-cloud/facebook-comments-scraper').call({
    postUrls: ['https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl'],
    maxCommentsPerPost: 500,
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

### FAQ

#### What can I put in the input?

Any facebook.com post link — Page posts, `story.php` links and group permalinks all work — or a numeric post ID.

#### Do I get the replies?

Turn on **Include replies** and every reply comes right after its comment, with `depth: 1` and `parent_comment_id` pointing at the comment it answers. **Max Comments per Post** counts comments and replies together.

#### Does it need my Facebook account or cookies?

No. The Actor reads what Facebook shows any logged-out visitor, so there's no account to get banned and nothing to log in with.

#### Why do some commenters have no profile link?

Logged out, Facebook hides some commenters behind an obfuscated `pfbid…` ID. You still get their name and picture.

#### What does it cost?

$0.0005 per comment — $0.50 per 1,000 — flat on every plan, with no start fee. Replies cost the same. Apify's free plan gives you $5 of credit every month, which is about 10,000 comments free every month.

#### Is it legal to scrape Facebook?

The Actor collects the public comments Facebook shows any logged-out visitor. Please review Facebook's terms of use and make sure your use complies with the law of your jurisdiction, including data-protection law.

### 💬 Have Questions? We Have Answers.

You're a business owner — we know how hard completing a project can be. So we offer full support: just message us and we'll reply ✅ with a solution within 1 working day.

[![Message Us on WhatsApp](https://raw.githubusercontent.com/omkarcloud/assets/master/images/whatsapp-us.png)](https://www.omkar.cloud/l/facebook-scraper-apify-whatsapp)

[![Ask Us on Email](https://raw.githubusercontent.com/omkarcloud/assets/master/images/ask-on-email.png)](mailto:happy.to.help@omkar.cloud?subject=Help%20with%20Facebook%20Comments%20Scraper%20Actor\&body=I%20need%20help%20with%20using%20the%20Facebook%20Comments%20Scraper%20Actor.)

You are important to us — just message us and we will solve your problem ✅ within 1 working day. 🩷 Pinky Promise 🤙!

### Popular Actors by Omkar Cloud

- [**Facebook Pages Scraper**](https://apify.com/omkar-cloud/facebook-pages-scraper) — followers, category, contact info and photos of any Page, $2 per 1,000 pages
- [**Facebook Marketplace Scraper**](https://apify.com/omkar-cloud/facebook-marketplace-scraper) — listings in any city with price, seller and photos, $0.40 per 1,000 listings
- [**Reddit Comments Scraper**](https://apify.com/omkar-cloud/reddit-comments-scraper) — every comment of any Reddit thread, user or keyword
- [**Threads Scraper**](https://apify.com/omkar-cloud/threads-scraper) — Threads posts, replies, reposts and profiles
- [**Website Email Contact Scraper**](https://apify.com/omkar-cloud/website-email-contact-scraper) — emails, phones & socials from any website

👉 [**Scrape your first 10,000 comments free now**](https://apify.com/omkar-cloud/facebook-comments-scraper)

# Actor input Schema

## `postUrls` (type: `array`):

Any facebook.com post link (Page posts, `story.php` and group permalinks work too) or a numeric post ID.

## `sort` (type: `string`):

Order of comments. Most relevant is Facebook's default (it hides some spam); All comments shows every comment unfiltered.

## `includeReplies` (type: `boolean`):

Also scrape the replies under each comment. Each reply is its own row, right after its comment, with `parent_comment_id` set.

## `maxCommentsPerPost` (type: `integer`):

Cap on rows per post — comments and replies together. Keeps your cost predictable.

## Actor input object example

```json
{
  "postUrls": [
    "https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl"
  ],
  "sort": "relevant",
  "includeReplies": false,
  "maxCommentsPerPost": 100
}
```

# Actor output Schema

## `results` (type: `string`):

No description

## `overview` (type: `string`):

No description

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "postUrls": [
        "https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("omkar-cloud/facebook-comments-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "postUrls": ["https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl"] }

# Run the Actor and wait for it to finish
run = client.actor("omkar-cloud/facebook-comments-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "postUrls": [
    "https://www.facebook.com/TaylorSwift/posts/pfbid0xoRgUbHKkpR35FF68zQFbWdWptqrnpyybYvrdWsd8744nXnB5A1hYdRfZ6P2BdrWl"
  ]
}' |
apify call omkar-cloud/facebook-comments-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,omkar-cloud/facebook-comments-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/Ity3Sq4QxxOXNafcm/builds/Od99nVkSKV81JJjVs/openapi.json
