# Facebook Page Posts Scraper: Reactions, Media (`kaleidoscopelabs/facebook-page-posts-scraper`) Actor

Posts of public Facebook Pages: the newest, a period, or only new ones on a schedule. Text, date, photos, video, links, reactions by kind, comments and shares, and a run that says which Pages it read to the end.

- **URL**: https://apify.com/kaleidoscopelabs/facebook-page-posts-scraper.md
- **Developed by:** [Kaleidoscope Labs](https://apify.com/kaleidoscopelabs) (community)
- **Categories:** Social media, Lead generation, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 1 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.75 / 1,000 posts

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

**Scrape Facebook Page posts**: give this Facebook Page Posts Scraper one or more public Pages and get their posts as clean records, with text, date, photos, video, links, and the counts of reactions by kind, comments and shares.

[![Use it from your AI agent: copy the MCP setup prompt](https://assets.kaleidoscopelabs.io/afy/mcp/mcp-setup.5ac6bded.png)](https://mcp.apify.com/?tools=kaleidoscopelabs/facebook-page-posts-scraper)

![Every post two public Pages published in October 2026, NASA 27 and UNICEF 56, each at its time and as tall as its reactions; the month's most reacted post has 241,522 reactions.](https://assets.kaleidoscopelabs.io/afy/fb-posts/hero.6330fe60.png)

- 📄 Read the newest posts of any public Facebook Page, or every post in a period you choose
- 📊 Get each post's reactions by kind (like, love, care, haha, wow, sad, angry), comments, shares and video views
- 🖼️ Get the post's photos, video file and links as plain URLs
- 🔔 Monitor Pages on a schedule and get only the posts you have not had before, for a small check per Page
- ✅ Know what the run read: which Pages it read to the end, which show no public Page, and what any record lacks

No Facebook account or login is needed: the Actor reads what Facebook shows a visitor who is not signed in.

### What data do you get from Facebook Page posts?

One record per post. The fields you decide on:

| Field | What it is |
|---|---|
| `postId`, `url` | Facebook's ID of the post, and its address |
| `pageId`, `pageName`, `pageUrl` | The Page that published it |
| `pageFollowers`, `pageCategory`, `pagePictureUrl` | The Page's followers as Facebook shows the number (rounded), its category and its picture |
| `publishedAt` | When it was published, in UTC |
| `text` | The post's text |
| `hashtags`, `mentions`, `links` | What the text links: hashtags, Pages and profiles, web addresses |
| `type` | `photo`, `album`, `video`, `reel`, `link`, `event`, `share`, `text` or `other` |
| `images`, `imagesCount`, `imageDescriptions` | The photos' addresses, how many photos the post has, and Facebook's own description of each photo |
| `collaborators` | The other Pages a post names as its authors |
| `videoUrl`, `thumbnailUrl`, `videoDurationSecs` | The video file, its still image and its length |
| `reactionsCount`, `reactions` | All reactions, and each kind's count |
| `commentsCount`, `sharesCount`, `viewsCount` | Comments, shares, and views of a video |
| `sharedPost` | For a post that shares another: that post's ID, address, Page and text |
| `missing` | The parts this record lacks, each with its reason; empty when nothing is missing |
| `scrapedAt` | When the run read the post |

Every field is described in the dataset schema, and every record has every field, so a sheet's columns stay the same.

### What can you use Facebook Page posts for?

![Reactions by kind on the newest 20 posts of two Pages: NASA's are 65% like and 32% love; UNICEF's are 66% like and 18% sad.](https://assets.kaleidoscopelabs.io/afy/fb-posts/kinds.df8202a5.png)

- **Automate social media monitoring of competitors' and clients' Pages:** schedule a run with `mode` set to `new` and each run stores only the posts published since the last one.
- **Report on a period:** every post of a list of Pages between two dates, with engagement, for a monthly report or a study.
- **Benchmark content:** compare reactions by kind, comments and shares across Pages and post types.
- **Lead generation:** see which businesses' Pages are active, how often they post and how their audience responds, with each Page's category and followers.
- **Feed posts into your own tools:** rows for a sheet, a database, a dashboard or an AI pipeline.

### How to scrape Facebook Page posts

1. Create a free Apify account and open this Actor.
2. Enter the Pages, one per line: an address (`https://www.facebook.com/nasa`) or a name (`nasa`).
3. Choose how many posts to read from each Page, or a period (`Posted after`, `Posted before`).
4. Click **Start**. Download the posts as JSON, CSV or Excel, or read them through the API.

### How much does it cost to scrape Facebook posts?

You pay per post stored: **$2.50 per 1,000 posts**. There is no extra charge for a period. The platform also charges $0.00005 when a run starts.

Prices shown are for Apify's free plan; on paid plans they are up to 30% lower. **Apify's free plan credit of $5 a month** covers about 2,000 posts.

| What you run | Posts | Cost |
|---|---|---|
| The newest 20 posts of one Page | 20 | $0.05 |
| The last 7 days of 20 Pages, about 10 posts each | 200 | $0.50 |
| Every post of 100 Pages for a month, about 40 each | 4,000 | $10.00 |

A monitor (`mode` set to `new`) also charges a **Page check of $0.002** for each Page a run reads, whether the Page has new posts or not. How often you schedule it sets that part of the cost:

| A monitor of 10 Pages for a month | Page checks | Checks cost | With 300 new posts |
|---|---|---|---|
| Once a day | 300 | $0.60 | $1.35 |
| Every hour | 7,200 | $14.40 | $15.15 |

A monitor's first run also stores each Page's newest posts (20 a Page unless you set it: 200 posts, $0.50, for these 10 Pages), and every run has the start charge.

An address that shows no Page and a post that could not be read are never charged. A Page with no posts in the period is charged nothing, except its check in a monitor. A run stops before your maximum charge.

### Input

**The newest posts of a few Pages**

```json
{
  "pageUrls": ["https://www.facebook.com/nasa", "unicef"],
  "postsPerPage": 20
}
```

**Everything published in the last 7 days**

```json
{
  "pageUrls": ["https://www.facebook.com/nasa"],
  "postedAfter": "7 days"
}
```

**Only new posts, on a schedule (a monitor)**

```json
{
  "pageUrls": ["nasa", "unicef"],
  "postsPerPage": 10,
  "mode": "new"
}
```

**A period between two dates, at most 100 posts a Page**

```json
{
  "pageUrls": ["nasa", "unicef"],
  "postedAfter": "2026-10-01",
  "postedBefore": "2026-11-01",
  "postsPerPage": 100
}
```

### Output

![One post record, shortened: the post and its Page, its text, date and media, reactions by kind, comments and shares, and what it lacks.](https://assets.kaleidoscopelabs.io/afy/fb-posts/record.e9fa8fac.png)

One post, every field, with long texts and addresses shortened (…):

```json
{
  "postId": "1685704526258250",
  "url": "https://www.facebook.com/NASA/posts/pfbid02w3sbVBJsxz81chAKkJ1PpQGmzd5VcKJv8qT7s8A4x12pHgsPtFRYN18MQHQ4pUNyl",
  "pageId": "100044561550831",
  "pageName": "NASA - National Aeronautics and Space Administration",
  "pageUrl": "https://www.facebook.com/NASA",
  "pagePictureUrl": "https://scontent.xx.fbcdn.net/v/…",
  "pageCategory": "Government organization",
  "pageFollowers": 28000000,
  "pageFollowersText": "28M followers",
  "collaborators": [],
  "imageDescriptions": ["Saturn dominates the scene, filling the rightmost portion of the photo with its orange face and dramatic rings …"],
  "linkDescription": "",
  "publishedAt": "2026-11-12T20:16:47Z",
  "text": "Tethys and Dione showed up for the group photo!\n \nIn addition to the two moons shown here, Saturn has a whole entourage of natural satellites …",
  "hashtags": [],
  "mentions": [],
  "links": [],
  "type": "photo",
  "images": ["https://scontent.xx.fbcdn.net/v/…"],
  "imagesCount": 1,
  "videoUrl": "",
  "thumbnailUrl": "",
  "videoDurationSecs": null,
  "linkUrl": "",
  "linkTitle": "",
  "eventName": "",
  "eventUrl": "",
  "reactionsCount": 3766,
  "reactions": {"like": 2726, "love": 899, "care": 66, "haha": 15, "wow": 53, "sad": 4, "angry": 3},
  "commentsCount": 144,
  "sharesCount": 363,
  "viewsCount": null,
  "sharedPost": null,
  "inputUrl": "https://www.facebook.com/nasa",
  "missing": [],
  "scrapedAt": "2026-11-15T21:47:00Z"
}
```

### Monitoring: only the posts you have not had

With `mode` set to `new`, the Actor remembers the posts it stored for each Page. The first run stores each Page's newest posts (`postsPerPage`, or a period); every later run stores only the posts published since, all of them, and nothing when there is none. A run with nothing new ends with an empty dataset and the status "No new posts"; it charges the Page checks and no post. Daily runs suit most Pages; hourly runs suit Pages you need to react to. The memory lives in a key-value store in your account named `facebook-page-posts-monitor`: delete a Page's record there to start it over. Use `monitorName` to keep several monitors of the same Pages apart.

Let one run of a monitor end before its next one starts: two runs of the same monitor at the same time can store, and charge, the same posts twice.

A new post is stored by the next run. A post that appears later below the Page's newest one (published with an earlier date) is stored within a day, if its date is no more than 24 hours before the newest post.

### The period you asked for, and a run that says what it read

A period is read from its own newest post, by the minute: `postedAfter` and `postedBefore` take a date, a date and time, or an age such as `36 hours`. The run's summary (`RUN_SUMMARY` in the key-value store) names each Page as read, not finished, not shown or without posts, and says `complete: true` only when every Page was read as far as you asked. A run stopped by its timeout, an abort or your maximum charge says so in `ended`; the Pages it had not come to are in none of the lists. A Page the run could not read to the end is never reported as read.

### Integrations and the API

Run it from the Apify API, on a schedule, or from Make, Zapier, n8n and Clay.

```bash
curl -X POST "https://api.apify.com/v2/acts/kaleidoscopelabs~facebook-page-posts-scraper/run-sync-get-dataset-items" \
  -H "Authorization: Bearer YOUR_APIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"pageUrls": ["nasa"], "postedAfter": "7 days"}'
```

**Building on this Actor**

- **Output:** fields are added, never renamed or removed within a major version; every change is in the changelog.
- **What a run's end means:** a finished run read every Page or names it in the summary. A run that could not reach Facebook fails; it does not succeed empty. An input that cannot be read ends as succeeded with nothing read or charged, the reason in the status message and in the summary's `inputError`.
- **Cost:** the event `post` per stored post, and in a monitor's run the event `check` once per Page read. Your maximum charge holds.
- **Record-level reasons:** `missing` lists a part with the reason "notGiven" (Facebook did not give it) or "unexpectedValue" (it came in a form that was not read).

### For AI agents

AI agents can call it through the Apify MCP server ([setup prompt for your agent](https://mcp.apify.com/?tools=kaleidoscopelabs/facebook-page-posts-scraper)). Minimal input: `{"pageUrls": ["<page address or name>"], "postsPerPage": 10}`. Add `postedAfter` (a date or an age such as `7 days`) for recent posts only. Read `text`, `publishedAt`, `url`, `type`, `reactionsCount`, `commentsCount` and `sharesCount`. An empty dataset with `complete: true` in `RUN_SUMMARY` means the Page has no posts for the input; `pagesNotShown` there lists addresses with no public Page. A record's `missing` names any part it lacks.

### Tips

- Try one Page with `postsPerPage: 10` first: it costs $0.025.
- With `postedAfter` and no `postsPerPage`, each Page is read to the end of the period. Without `postedAfter`, `postsPerPage` is 20 when left empty.
- An age (`7 days`) counts back from the run's start. To track Pages on a schedule use `mode: "new"` instead: it goes by the posts it has stored, not by the clock, so a run that comes late misses nothing.
- Media addresses are Facebook's own and expire within a few days, some videos sooner: download what you need to keep.

Did it save you time? A rating on this page helps others find it; an Issue tells us what to fix.

### FAQ

**Is there an official Facebook API for Page posts?** Meta's Graph API gives a Page's posts to an app that the Page's admin authorised, or to an app Meta approved in review to read public Pages. This Actor needs neither: it reads what a public Page shows any visitor.

**Why does a Page return nothing?** Facebook shows some Pages only to signed-in visitors: Pages restricted by age or country (alcohol brands, for example). A Page that was removed or renamed shows nothing at its old address either. The run names them in `pagesNotShown` and charges nothing.

**Why does an album have fewer images than `imagesCount`?** Facebook lists an album's first photos to a visitor who is not signed in. The record gives those, the full count, and names `images` in `missing`.

**Is it legal to scrape Facebook Page posts?** The Actor reads only what Pages publish to everyone. How you use the data is your responsibility: follow the laws that apply to you, including copyright and data protection law.

**Does it collect personal data?** Pages are mostly run by organisations, but a post's text, mentions and media can name or show people, and some Pages belong to public figures. If you process personal data, you need a lawful basis under GDPR, KVKK or the law that applies to you.

### Limits

- Public Pages only, as shown to a visitor who is not signed in. Groups, private profiles and restricted Pages are not read.
- Comments are counted, not collected.
- Counts are what Facebook shows at the time of the run.
- Up to 500 Pages a run.
- Speed: about 150 posts a minute across the Pages of a run, and about 40 a minute from any one Page, whose posts are read in order. A run's timeout is 4 hours unless you change it in the run options: enough for 500 Pages at 20 posts each (about 70 minutes). A run that reaches its timeout keeps what it stored and says `ended: "timedOut"` and `complete: false` in its summary; the Pages not yet in `pagesRead` are the ones left, and resurrecting the run continues with them. Raise the timeout for a longer job, such as many thousands of posts of one Page.

### Support and feedback

Open an Issue on the Actor's page: we answer within 24 hours. If the Actor is useful to you, a bookmark helps others find it.

### Other Actors

| Actor | Use it with this one to |
|---|---|
| [Meta Ad Library & Facebook Ad Library Checker](https://apify.com/kaleidoscopelabs/facebook-ads-library-checker) | See whether the Pages you track run Facebook and Instagram ads, how many, and the day the newest started |
| [Reddit Scraper: Subreddit Posts and Comments](https://apify.com/kaleidoscopelabs/reddit-scraper) | Read what people say about the same brands in the subreddits that discuss them |

*Facebook Page Posts Scraper is an independent tool, not affiliated with, endorsed by or sponsored by Meta Platforms, Inc. Facebook is a trademark of Meta Platforms, Inc.*

# Changelog

This Actor's version history is a separate document: https://apify.com/kaleidoscopelabs/facebook-page-posts-scraper/changelog.md

# Actor input Schema

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

The Pages whose posts to read, one per line: a Page's address as the browser shows it (https://www.facebook.com/nasa) or its name (nasa). A line that is not a Page's address or name is skipped and said in the log. Up to 500 per run.

## `postsPerPage` (type: `integer`):

How many posts the run stores for each Page, newest first, such as 10. Left empty it is 20; with Posted after set and this left empty, each Page is read to the end of the period. A Page with fewer posts gives what it has.

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

Only posts published at or after this moment: a date (2026-10-01, from the start of that day in UTC), a date and time (2026-10-01T09:30:00Z), or an age counted back from the run's start (7 days, 36 hours, 2 weeks, 3 months). With this set and Posts per Page left empty, each Page is read to the end of the period.

## `postedBefore` (type: `string`):

Only posts published before this moment, in the same forms as Posted after, such as 2026-11-01. Leave it empty to read up to now. Without Posted after, the newest posts before this moment are read, up to Posts per Page (20 when empty).

## `mode` (type: `string`):

All posts asked for, or only new posts: posts this monitor did not store in its earlier runs. The first run of a monitor stores the posts as All does and remembers them; each later run stores every post published since, and nothing when there is none. Schedule it to track Pages. A monitor's run charges one Page check for each Page it reads, new posts or not.

## `monitorName` (type: `string`):

Only with Only new posts: a name that keeps this monitor's memory apart from other monitors of the same Pages, such as crm-competitors. Letters, digits, hyphens and underscores, at most 40. Leave it empty for one monitor.

## Actor input object example

```json
{
  "pageUrls": [
    "https://www.facebook.com/nasa"
  ],
  "mode": "all"
}
```

# Actor output Schema

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

One record per post in the run's default dataset: its Page, date, text, type, photos, video, links, the counts of reactions by kind, comments and shares, and what the record lacks.

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

What the run did: the posts stored, the Pages read, not finished, not shown, without posts or cut by the limit, the period it read, whether it is complete, and the Ref to quote in an issue.

## `progress` (type: `string`):

Which Pages the run has read, could not finish or found not shown so far: kept up to date as it runs, and carried on when the platform moves, restarts or resurrects the run.

# 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"
    ],
    "mode": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("kaleidoscopelabs/facebook-page-posts-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 = {
    "pageUrls": ["https://www.facebook.com/nasa"],
    "mode": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("kaleidoscopelabs/facebook-page-posts-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 '{
  "pageUrls": [
    "https://www.facebook.com/nasa"
  ],
  "mode": "all"
}' |
apify call kaleidoscopelabs/facebook-page-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,kaleidoscopelabs/facebook-page-posts-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/N1Ajnbb4CsYf89rcO/builds/jDjt0Y4owBBLZUKf3/openapi.json
