# Facebook Reels Scraper (Plays, Reactions, Public Pages) (`locaihost/facebook-reels`) Actor

Reels and videos of public Facebook Pages, no login: one row per reel with exact play count, reactions, comments, shares, length, time posted, thumbnail and MP4 link. Play growth since your last run and only-new memory. $4.00 per 1,000 reels.

- **URL**: https://apify.com/locaihost/facebook-reels.md
- **Developed by:** [locaihost data](https://apify.com/locaihost) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.20 / 1,000 videos

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/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 Reels Scraper (Plays, Reactions, Public Pages)

Give it a list of public Facebook Pages. You get one row per video the Page has posted: its reel link, caption, exact play count, reactions, comments, shares, length in seconds, time posted and thumbnail. Paste single reel, watch or share links instead and you get that one video. You never need a Facebook account or cookies.

### What does it return?

One **video row** per reel or video, newest first:

| field | what it is |
| --- | --- |
| type | always `reel` |
| reelId | Facebook's id for the video |
| reelUrl | link to the reel (for share links, the clean reel link) |
| postId | Facebook's id for the post that carries the video (null when the video stands alone) |
| postUrl | link to that post |
| pageId | Facebook's id for the Page that posted it |
| pageName | name of the Page that posted it |
| pageUrl | link to the Page that posted it |
| caption | the post's text |
| playCount | plays (exact on Page reads and video links; on a share link, rounded the way Facebook shows it) |
| reactionCount | reactions in total |
| commentCount | number of comments |
| shareCount | number of shares, when Facebook shows it logged out |
| durationSec | video length in seconds |
| postedAt | time posted, ISO |
| thumbnailUrl | thumbnail image link |
| videoUrl | Facebook's MP4 link for the video, HD when offered. It is signed and stops working after some hours, so download soon after the run |
| playsBefore | plays at your last run that read this video |
| playsChange | plays gained since that run |
| input | the input this row came from |
| scrapedAt | when the row was read |

Inputs that could not be read get a free **status row** instead, and a free **summary row** comes last: inputs read, videos per Page, the five videos with the most plays, the date range covered and what was left out. Status and summary rows are never charged.

### How do I use it?

1. Paste Page links under **Facebook Pages or reel links**, one per line. Plain Page names like `NASA` work too.
2. Set how many videos you want per Page (10 by default).
3. Start the run. Rows appear in the dataset as each Page is read.

Example input:

```json
{
  "pageUrls": ["https://www.facebook.com/NASA", "https://www.facebook.com/NASA/reel/1056346190744779/"],
  "maxReelsPerPage": 25,
  "onlyNew": true
}
```

### Which links work?

Page links in any of the usual forms: `facebook.com/PageName`, `m.facebook.com/PageName`, `facebook.com/profile.php?id=...`, `facebook.com/people/Page-Name/123...`, `facebook.com/p/Page-Name-123...`, and links to a Page's Reels or Videos tab.

Single video links: `facebook.com/reel/...`, `facebook.com/watch/?v=...`, `facebook.com/video.php?v=...`, `facebook.com/PageName/videos/...`, `facebook.com/share/r/...` and `fb.watch/...` short links. Each returns exactly one row.

Personal profiles, groups, events and Marketplace are not supported. They get a free status row that says so, and nothing is charged for them.

### How many videos can I get per Page?

Up to 1,000 per Page. Videos are picked out of the Page's post timeline: the first 25 posts arrive in one request, older posts come about three at a time, and only some posts are videos, so large numbers take longer. A default run (one Page, 10 videos) usually finishes in under a minute.

If Facebook stops giving older posts before your number is reached, the run says so in its status message and you are only charged for what you got.

### Can I get only videos I have not seen yet?

Yes. Turn on **Only videos not returned before**. The run remembers which videos this exact list of inputs returned and leaves them out next time, so a daily schedule gives you just the new ones. The memory is kept in your own account and is separate for each list of inputs. Repeats are never charged.

You can also set **Posted after** to a date like `2026-11-01` or a period like `7 days`. Paging stops once the posts get older than that.

### Does it track play growth?

Yes, always. Every video row shows the plays at your last run that read the same video and how much the video gained since then. The first run for a video leaves those two fields empty. This is how you measure a reel's momentum between two days, not just its total.

### Are the counts exact?

Play, reaction, comment and share counts are exact numbers wherever Facebook serves them to a logged-out visitor: Page reads and video links both do. Two exceptions: on a share link the fallback row carries the rounded headline counts (the run fetches the exact ones whenever Facebook lets it), and share counts are sometimes hidden logged out, in which case the field is empty rather than guessed.

### Does it collect comments or the people who reacted?

No. Comments come as a count only and reactions as one total. The scraper never collects who commented or reacted, or what they wrote.

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

No. It reads what Facebook shows any logged-out visitor on a public Page. You never enter an account, a password or cookies.

### What personal data does it collect?

Only what a public Page publishes: its name, its link, and its public videos with their captions and counts. It does not collect personal profiles, commenters, reactors, private contact details of individuals or anything about people who watch. The videos themselves belong to whoever posted them: the `videoUrl` link is there for analysis, and reusing a video needs its owner's permission. You are responsible for using the data lawfully where you are, including privacy rules such as the GDPR, and for respecting Facebook's own terms, which restrict automated collection.

### How much does it cost?

$4.00 per 1,000 video rows ($3.00 on Scale, $2.20 on Business), charged as one paid event per row, plus the usual start charge when a run begins. Status rows (inputs that could not be read) and the summary row are free. Set a maximum charge for the run and it stops cleanly at 90% of it, saying so in the status message.

On the free Apify plan each run returns up to 100 rows. Paid plans have no row limit.

### What happens when Facebook blocks a request?

Facebook sometimes answers a logged-out visitor with a login wall. The scraper then starts a fresh session and tries again, up to three times per input. If an input still will not load, you get a free status row for it, the rest carry on, and you can re-run just that input later. A run with nothing returned is never charged for rows.

### What do the status rows mean?

| status | meaning |
| --- | --- |
| `not-found` | The Page or video does not exist or is not public |
| `personal-profile` | A personal profile, which is not supported |
| `unsupported` | A group, event, Marketplace or other link that is not a Page or video |
| `blocked` | Facebook kept asking for a login; try this input again later |
| `no-videos` | The Page loaded but shows no public videos |

### Can I use it from my own code or an agent?

Yes. Run it through the Apify API or any Apify client, or connect it as a tool through the Apify MCP server. The input is plain JSON and every row has a `type` field (`reel`, `status` or `summary`), so you can filter rows easily. The dataset has an Overview view with the counts first and a Summary view.

### Something is missing or broken. What should I do?

Open an issue on the Issues tab with the Page or reel link and what you expected. Facebook changes its pages often; reports help get fixes out fast.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/facebook-reels/changelog.md

# Actor input Schema

## `pageUrls` (type: `array`):

Page links (facebook.com/NASA, profile.php?id=..., m.facebook.com links) or bare Page names; a whole Page's videos are read. Or single video links (facebook.com/reel/..., /watch/?v=..., fb.watch/..., /share/r/...): one row for that video alone. Groups, Marketplace and personal profiles are not supported and come back as a free status row.

## `maxReelsPerPage` (type: `integer`):

How many of each Page's newest videos to return. The first 25 posts arrive in one request; after that Facebook hands out about 3 posts per request, and only some posts are videos, so large numbers take longer.

## `onlyNew` (type: `boolean`):

Remembers which videos this exact list of inputs returned in earlier runs and leaves them out, so a daily schedule only brings new ones. Repeats are never charged.

## `postedAfter` (type: `string`):

Leave out videos posted before this. A date (2026-11-01) or a period such as "7 days", "2 weeks" or "3 months". Paging stops once the posts get older than this.

## `summaryRow` (type: `boolean`):

A free last row with the Pages read, videos per Page, the top videos by plays, the date range and what was left out. Never charged.

## Actor input object example

```json
{
  "pageUrls": [
    "https://www.facebook.com/NASA",
    "https://www.facebook.com/NASA/reel/1056346190744779/"
  ],
  "maxReelsPerPage": 10,
  "onlyNew": false,
  "postedAfter": "7 days",
  "summaryRow": true
}
```

# Actor output Schema

## `reels` (type: `string`):

One row per video, newest first

## `summary` (type: `string`):

The free summary row

# 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 = {
    "pageUrls": [
        "https://www.facebook.com/NASA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("locaihost/facebook-reels").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 = { "pageUrls": ["https://www.facebook.com/NASA"] }

# Run the Actor and wait for it to finish
run = client.actor("locaihost/facebook-reels").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 '{
  "pageUrls": [
    "https://www.facebook.com/NASA"
  ]
}' |
apify call locaihost/facebook-reels --silent --output-dataset

```

## MCP server setup

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

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/tcGNgJZ5rxvmaESdL/builds/w4f1fWFexpTapDFdw/openapi.json
