# Facebook Reviews Scraper (`fetch_cat/facebook-reviews-scraper`) Actor

Scrape public Facebook page recommendations and reviews into structured datasets for reputation monitoring.

- **URL**: https://apify.com/fetch\_cat/facebook-reviews-scraper.md
- **Developed by:** [Hanna Nosova](https://apify.com/fetch_cat) (community)
- **Categories:** Social media, Marketing, Lead generation
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.97 / 1,000 review extracteds

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Facebook Reviews Scraper

Collect public Facebook Page recommendations into structured review rows. The Actor uses only Facebook's logged-out public Page response—no account, cookies, access token, or private profile crawling.

### What it does

- Accepts Page URLs, `/reviews` URLs, and numeric Page IDs.
- Handles multiple Pages in one run and removes duplicate review stories.
- Follows Facebook's available logged-out continuation pages until the requested limit, the public feed ends, or a bounded safety limit is reached.
- Returns both recommended and not-recommended stories.
- Preserves exact public timestamps, stable story and post IDs, reviewer fields, Page score/count, engagement counts, tags, and optional attached-photo URLs when Facebook exposes them.
- Writes a per-input `RUN_SUMMARY` record so unavailable, blocked, invalid, empty, and duplicate-only inputs are not hidden.

### Who is it for

- **Reputation monitoring:** schedule a Page task and send new dataset rows to a spreadsheet, webhook, or alerting workflow.
- **Competitor comparison:** collect recommendation states, review text, Page score/count, and engagement for several local competitors.
- **Customer research:** export public review text and tags for topic analysis without handling a Facebook account.
- **Data pipelines:** consume normalized review rows through the Apify API, webhooks, integrations, or the official Apify MCP server.

### Input

| Setting | JSON key | Description |
| --- | --- | --- |
| Facebook Page URLs | `startUrls` | Public Page, `/reviews`, or numeric Page URLs. Post, group, reel, and video URLs are rejected. |
| Facebook Page IDs | `pageIds` | Optional numeric Page IDs. Can be combined with URLs. |
| Maximum reviews | `maxItems` | Global dataset-row limit, from 1 to 1,000. |
| Maximum per Page | `maxReviewsPerPage` | Per-input limit, from 1 to 250, across initial and continued public results. |
| Include photos | `includeReviewPhotos` | Include one best-resolution public URL per attached review photo. |
| Proxy | `proxyConfiguration` | Residential proxy is recommended; direct egress is useful for small diagnostics. |

### Ready-to-run examples

Open a public example to inspect its input, run it, or reuse it as a task:

- [Compare Facebook Reviews Across Multiple Pages](https://apify.com/fetch_cat/facebook-reviews-scraper/examples/compare-facebook-reviews-across-pages)
- [Export Facebook Reviews by Page ID](https://apify.com/fetch_cat/facebook-reviews-scraper/examples/export-facebook-reviews-by-page-id)
- [Download Facebook Reviews with Photos](https://apify.com/fetch_cat/facebook-reviews-scraper/examples/download-facebook-reviews-with-photos)
- [Export Facebook Page Reviews and Recommendations](https://apify.com/fetch_cat/facebook-reviews-scraper/examples/export-facebook-page-reviews)

#### Small direct test

```json
{
  "startUrls": [
    { "url": "https://www.facebook.com/copperkettleyqr/reviews" }
  ],
  "maxItems": 5,
  "maxReviewsPerPage": 5,
  "includeReviewPhotos": false,
  "proxyConfiguration": { "useApifyProxy": false }
}
```

#### Residential batch

```json
{
  "startUrls": [
    { "url": "https://www.facebook.com/copperkettleyqr" },
    { "url": "https://www.facebook.com/Meta/reviews" }
  ],
  "maxItems": 20,
  "maxReviewsPerPage": 10,
  "includeReviewPhotos": true,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": ["RESIDENTIAL"]
  }
}
```

### Export Facebook reviews data

Each dataset item is one public recommendation story.

| Field | Description |
| --- | --- |
| `inputUrl`, `inputType` | Original input and whether it was a URL or Page ID. |
| `facebookUrl` | Normalized Page reviews URL. |
| `pageName`, `pageUsername` | Public display name and vanity name. |
| `pageId`, `facebookId` | Numeric Facebook Page ID. |
| `pageRecommendationPercent`, `pageReviewCount` | Public Page-level recommendation score and displayed review count. |
| `id`, `reviewId`, `legacyId` | Facebook story ID, permalink ID, and legacy post ID. |
| `url` | Direct public review-story URL when exposed. |
| `user` | Compatibility object with reviewer ID, name, profile URL, and profile picture. |
| `reviewerId`, `reviewerName` | Flat reviewer fields for CSV and spreadsheet workflows. |
| `reviewerProfileUrl`, `reviewerProfilePic` | Public reviewer links when exposed. |
| `isRecommended` | `true` for recommends and `false` for doesn't recommend. |
| `date`, `dateText` | Exact ISO timestamp and visible date label. |
| `text`, `tags` | Review text and public recommendation tags. |
| `likesCount`, `commentsCount` | Public engagement totals. |
| `reviewPhotos`, `photos` | One best-resolution public URL per attached review photo when requested and exposed. |
| `status`, `stopReason`, `source`, `scrapedAt` | Extraction provenance and run-time context. |

#### Example output

```json
{
  "facebookUrl": "https://www.facebook.com/copperkettleyqr/reviews",
  "pageName": "The Copper Kettle Restaurant",
  "pageUsername": "copperkettleyqr",
  "pageId": "100064027242849",
  "pageRecommendationPercent": 94,
  "pageReviewCount": 201,
  "id": "UzpfSTEwMDAwODg0Mjg0MTAzMDozNDMzNTYyNDMzNjE1MTUxOjM0MzM1NjI0MzM2MTUxNTE=",
  "reviewId": "pfbid02fESzT5d1xik5moNdXq4t4X6gPFvAs7PUEAq5hwYvyAnotwQTwuTBz2MmtzPkEjiFl",
  "legacyId": "3433562433615151",
  "reviewerId": "100008842841030",
  "reviewerName": "Daniel Masih",
  "isRecommended": true,
  "date": "2024-09-11T17:57:58.000Z",
  "text": "They offers a cozy atmosphere, friendly service, and a menu of tasty comfort food at reasonable prices. It’s a great spot for casual dining.",
  "tags": ["Child-friendly", "Fast delivery", "Cosy atmosphere"],
  "likesCount": 0,
  "commentsCount": 0,
  "photos": [],
  "source": "facebook-public-preloaded-review-feed"
}
```

### Run summary

The default key-value store contains `RUN_SUMMARY`. It reports one status per input:

- `ok` — public reviews were extracted, or the second form of a duplicate Page produced no additional rows.
- `no_public_reviews` — the Page loaded but exposed no semantic public recommendation.
- `unavailable` — the Page/reviews surface is unavailable or disabled to logged-out visitors.
- `blocked` — Facebook returned a security/interstitial block.
- `invalid` — the input is not a supported Facebook Page input.
- `error` — navigation or parsing failed for that input.

`RUN_CHECKPOINT` records completed and pending Pages so a migrated or restarted run can resume without charging or saving the same review twice.

### Pricing

This Actor uses pay-per-event pricing:

- The `start` event is charged once when a run starts.
- The `item` event is the primary event and applies to each saved review row.
- Per-input statuses and diagnostics stored in `RUN_SUMMARY` are not review rows.

See the [live Pricing tab](https://apify.com/fetch_cat/facebook-reviews-scraper/pricing) for current rates and plan discounts.

### Tips for better results

- Begin with one Page and `maxItems: 5` before creating a larger batch.
- Keep the residential proxy default for scheduled or multi-Page work; direct egress is useful for low-cost diagnostics but can vary by location.
- Use both the dataset and `RUN_SUMMARY` when reconciling a batch. A zero-row Page is not automatically an Actor failure.
- Use numeric `pageIds` when you already have them; otherwise Page and `/reviews` URLs are normalized automatically.

### Limits and public-data boundaries

- Facebook does not expose every review counted on a Page to logged-out visitors. The Actor returns the public stories present in Facebook's response and does not promise the full displayed total.
- The Actor follows Facebook's public continuation cursor when available, but the public feed can still end before the displayed Page review count.
- Facebook orders public recommendations by its own relevance logic, not necessarily chronologically.
- Reviewer fields and photos can be `null` or empty when Facebook does not expose them publicly.
- The Actor does not accept account credentials, cookies, private sessions, access tokens, groups, profiles, messages, or other non-public surfaces.
- Process public reviewer data only for a legitimate purpose and with appropriate retention and access controls.

### Facebook reviews API usage

Node.js:

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

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('fetch_cat/facebook-reviews-scraper').call({
  startUrls: [{ url: 'https://www.facebook.com/copperkettleyqr/reviews' }],
  maxItems: 10,
  proxyConfiguration: {
    useApifyProxy: true,
    apifyProxyGroups: ['RESIDENTIAL'],
  },
});

console.log(run.defaultDatasetId);
```

Python:

```python
from apify_client import ApifyClient

client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("fetch_cat/facebook-reviews-scraper").call(run_input={
    "startUrls": [{"url": "https://www.facebook.com/copperkettleyqr/reviews"}],
    "maxItems": 10,
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
})
print(run["defaultDatasetId"])
```

cURL:

```bash
curl -X POST \
  "https://api.apify.com/v2/acts/fetch_cat~facebook-reviews-scraper/runs?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"startUrls":[{"url":"https://www.facebook.com/copperkettleyqr/reviews"}],"maxItems":10}'
```

### MCP and AI agents

This Actor can be exposed through the official Apify MCP server.

```bash
claude mcp add --transport http apify \
  "https://mcp.apify.com?tools=fetch_cat/facebook-reviews-scraper"
```

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com?tools=fetch_cat/facebook-reviews-scraper"
    }
  }
}
```

Example prompts:

- “Collect up to 10 public recommendations from this Facebook Page and summarize recurring service complaints.”
- “Compare recommendation states and Page scores for these three public Facebook Pages.”
- “Run this Facebook reviews task and return the dataset ID plus the per-Page run summary.”

### Schedule review monitoring

Save a small input as an Apify Task, attach a daily or weekly schedule, and connect a webhook or integration to the finished run. Use `reviewId` or `id` as the downstream deduplication key and inspect `RUN_SUMMARY` for unavailable or blocked Pages.

### FAQ

#### Does this require a Facebook login, cookies, or access token?

No. It reads only the Page data Facebook makes available to logged-out visitors.

#### Why is the dataset smaller than the Page's displayed review count?

Facebook can expose only a subset of the displayed total to logged-out visitors. The Actor reports the Page count for context but does not invent or bypass unavailable reviews.

#### Can I export to CSV, Excel, or JSON?

Yes. Apify datasets support CSV, Excel, JSON, JSONL, XML, RSS, and API access.

#### Why is a reviewer field or photo empty?

The public response does not always include every reviewer link, profile image, permalink, or attachment. Missing values remain empty instead of being guessed.

#### What should I check when a Page returns no rows?

Open `RUN_SUMMARY` first. It distinguishes no public recommendations, an unavailable reviews surface, a Facebook block, invalid input, and a processing error.

### Related actors

- [Facebook Comments Scraper](https://apify.com/fetch_cat/facebook-comments-scraper)
- [Google Maps Reviews Scraper](https://apify.com/fetch_cat/google-maps-reviews-scraper)
- [Trustpilot Reviews Scraper](https://apify.com/fetch_cat/trustpilot-reviews-scraper)
- [Booking Reviews Scraper](https://apify.com/fetch_cat/booking-reviews-scraper)
- [Shopify App Reviews Scraper](https://apify.com/fetch_cat/shopify-app-reviews-scraper)

### Support

Open an issue from the Actor page and include the run ID, input JSON, expected result, actual result, and one reproducible public Page URL.

# Actor input Schema

## `startUrls` (type: `array`):

Public Facebook Page or /reviews URLs. Post, group, reel, and video URLs are rejected.

## `pageIds` (type: `array`):

Optional numeric Facebook Page IDs. You can use these instead of, or together with, Page URLs.

## `maxItems` (type: `integer`):

Maximum number of review rows saved across all input pages.

## `maxReviewsPerPage` (type: `integer`):

Maximum public review rows saved for each input Page while following Facebook's available continuation pages.

## `includeReviewPhotos` (type: `boolean`):

Collect one best-resolution public image URL per attached review photo. This can make output larger.

## `proxyConfiguration` (type: `object`):

Residential proxy is recommended for Facebook. Select no proxy for small direct-egress diagnostics.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/copperkettleyqr/reviews"
    }
  ],
  "pageIds": [],
  "maxItems": 10,
  "maxReviewsPerPage": 10,
  "includeReviewPhotos": false,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `reviews` (type: `string`):

No description

## `runSummary` (type: `string`):

No description

## `runCheckpoint` (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 = {
    "startUrls": [
        {
            "url": "https://www.facebook.com/copperkettleyqr/reviews"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("fetch_cat/facebook-reviews-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 = { "startUrls": [{ "url": "https://www.facebook.com/copperkettleyqr/reviews" }] }

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

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

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

```

## CLI example

```bash
echo '{
  "startUrls": [
    {
      "url": "https://www.facebook.com/copperkettleyqr/reviews"
    }
  ]
}' |
apify call fetch_cat/facebook-reviews-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=fetch_cat/facebook-reviews-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/niKBx2Naz1ZIdiGfP/builds/387Jlrkd1e38L3eHV/openapi.json
