# Facebook Posts Scraper 💰 $0.99/1K · New-Post Alerts · No Login (`first-penguin/facebook-posts-scraper`) Actor

Posts from public Facebook Pages, profiles and post URLs, no login: text, date, reactions by type, comments, shares, photos. Add visible comments if you want. Only-new-posts mode alerts Slack, Discord or a webhook. No start fee; inputs that return nothing are free.

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

## Pricing

from $0.99 / 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.

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 Posts Scraper — $0.99/1K · New-Post Alerts · No Login

Get posts from any public Facebook **Page**, **public profile** or **post URL**, one row per post: text, date, reactions by type, comment count, share count, photos and videos, and — if you want them — the **comments** Facebook shows next to each post. No Facebook account, no cookies.

Turn on **Only new posts** and schedule it: each run returns only posts you have not seen yet, sends them to **Slack, Discord or any webhook** (Zapier, Make, n8n), and you pay only for the new ones.

Inputs that return nothing come back as a free row with the reason, so you always know what is missing.

### Limits first (no login)

- Some Pages show no posts to logged-out visitors (2 of 40 and 6 of 45 in our two tests). They return a free `page_needs_login` or `no_public_posts` row.
- **Comments** are the ones Facebook shows to logged-out visitors. With up to 20 per post we got 73% of what was possible (a median of 6 per post). Replies are not included.
- Two runs at the same moment can differ by a post or two: Facebook gives logged-out visitors a slightly different order each time.
- **Post URLs** work for posts and photos (28 of 32 in our test). Reel and video URLs are not supported — use the Page URL; the Page feed includes its reels and videos.
- **Groups** are not supported (they need a login).
- Follower count is the rounded number Facebook displays ("28M followers").

### Who uses it

| You want to | Example | Turn on |
|---|---|---|
| Watch competitors | New posts from 20 competitor Pages in Slack every morning | Pages + Only new posts + Slack + a schedule |
| Social listening | Weekly reactions, comments and shares of your own and competitor Pages | Pages + date range |
| News and research | Today's posts from 100 news Pages in a sheet | Pages + Only posts newer than `1 day` |
| Sentiment and AI summaries | What people say under a brand's posts | Pages or post URLs + Include comments |
| Automation and AI agents | Feed posts to n8n, Make, Zapier or an LLM | Any input, via API or MCP |

### How it works

1. **Give it Pages, profiles or posts** — Page URLs, Page names (`nasa`), numeric IDs, `profile.php?id=…`, or post / photo URLs. Duplicates are removed, so you never pay twice.
2. **It reads what Facebook shows a logged-out visitor**, newest first. With a date range, it jumps straight to your dates and stops at the first older post, so you do not pay for posts outside them.
3. **One row per post.** Every input that returns nothing gets a free row with a `reason`.

### Compared with other Facebook post scrapers

| | This Actor | A typical Facebook posts Actor |
|---|---|---|
| Login or cookies | Not needed ✅ | Not needed ✅ |
| Price | $0.99 / 1,000 posts, no start fee ✅ | $2–6 / 1,000 posts, often a start fee or a date-filter fee ❌ |
| Only new posts | Returns and charges only posts you have not seen ✅ | Returns everything every run ❌ (some support it) |
| New-post alerts | Slack, Discord, webhook ✅ | None ❌ |
| Comments | Inside the post row, $0.50 / 1,000 ✅ | Separate Actor, or $1 / 1,000 ❌ |
| Post URLs | Posts and photos ✅ | Page URLs only ❌ (some support it) |
| Date range | Jumps to the dates, stops at the first older post ✅ | Pages through everything ❌ (some support it) |
| Exact limit | Never more than you asked, never charged for more ✅ | Some return and charge more ❌ |
| Inputs that return nothing | One free row each, with the reason ✅ | A count in the log, or nothing ❌ |
| Reaction types | Like, love, care, haha, wow, sad, angry ✅ | ✅ |

### Pricing

| | Price |
|---|---|
| Post returned | **$0.99 / 1,000** |
| Comment returned (only when Include comments is on) | $0.50 / 1,000 |
| Run start | Free |
| Inputs that return nothing, posts you already have (monitor mode), posts outside your dates | **Free** |

1,000 posts cost at most $0.99. Residential proxy is included in the price.

### Input

| Field | What it does | Default |
|---|---|---|
| `startUrls` | Pages, profiles or post URLs (see above) | — |
| `maxPostsPerPage` | Hard limit per Page, newest first | 20 |
| `onlyPostsNewerThan` | `2026-01-31` or `3 days`, `2 weeks`, `1 month` | — |
| `onlyPostsOlderThan` | `2025-12-31` or `1 year` | — |
| `includeComments` | Add visible comments to each post | false |
| `maxCommentsPerPost` | Comments per post | 10 |
| `onlyNewPosts` | Monitor mode | false |
| `monitorName` | Separate watch lists | `default` |
| `slackWebhookUrl`, `discordWebhookUrl`, `webhookUrl` | Alerts in monitor mode | — |
| `maxConcurrency` | Pages read at the same time | 3 |

```json
{
  "startUrls": ["https://www.facebook.com/nasa", "natgeo"],
  "maxPostsPerPage": 50,
  "onlyPostsNewerThan": "1 month",
  "includeComments": true,
  "maxCommentsPerPost": 20
}
```

### Output

One row per post (example with made-up data):

```json
{
  "status": "ok",
  "postId": "1234567890123456",
  "url": "https://www.facebook.com/examplebrand/posts/pfbid0Example",
  "time": "2026-11-19T15:19:50.000Z",
  "text": "Our winter collection is here. Which one is your favorite?",
  "pageName": "Example Brand",
  "pageId": "100000000000001",
  "pageFollowersText": "120K followers",
  "authorName": "Example Brand",
  "reactions": 1990,
  "reactionsByType": { "like": 1548, "love": 384, "care": 36, "wow": 17, "haha": 3, "sad": 1, "angry": 1 },
  "comments": 60,
  "shares": 163,
  "media": [{ "type": "photo", "url": "https://www.facebook.com/photo.php?fbid=…", "image": "https://scontent…jpg" }],
  "link": null,
  "sharedPost": null,
  "topComments": [
    { "commentId": "2124430374846078", "text": "Love the blue one!", "authorName": "Sam Example", "authorUrl": "https://www.facebook.com/sam.example", "time": "2026-11-19T16:02:11.000Z", "replies": 0 }
  ],
  "isNew": true,
  "source": { "type": "page", "input": "examplebrand" },
  "scrapedAt": "2026-11-20T10:00:00.000Z"
}
```

An input that returned nothing (free):

```json
{ "status": "failed", "reason": "no_public_posts", "detail": "This Page or profile shows no posts to logged-out visitors.", "input": "https://www.facebook.com/someshop" }
```

Reasons: `no_public_posts`, `page_not_found`, `page_needs_login`, `no_posts_in_dates`, `post_not_public`, `post_not_found`, `group_not_supported`, `video_url_not_supported`, `not_a_page_url`, `not_a_facebook_url`, `invalid_input`, `invalid_date`, `unavailable`, `query_changed`.

The **Run summary** (key-value store `RUN_SUMMARY`) lists every input with how many posts were read and why reading stopped.

### Monitor mode

- Turn on `onlyNewPosts`, save the input as a task and add a [schedule](https://docs.apify.com/platform/schedules) (daily suits most Pages; hourly suits busy news Pages).
- The first run returns everything and remembers it. Later runs return only new posts and stop reading once they reach posts you already have.
- Alerts: one Slack or Discord message per Page with new posts; the webhook gets `{ event: "posts.new", source, newPosts, detectedAt }`.
- The list of post IDs you have seen is stored **only in your own Apify account** (key-value store `facebook-posts-monitor-<name>`). We keep nothing.

### Measured on 2026-11-20 (Apify, logged out)

- 40 Pages (10 news and brand Pages, 30 small business Pages picked at random from advertisers), 50 posts per Page: **38 returned posts** (1,588 posts); 31 returned exactly 50. The other 2 show their Page only to signed-in users.
- Fields: post ID, date, URL, reactions, comment count, share count and author on 100% of posts; text on 95%; photos/videos on 93%; reaction types on 88%.
- Comments (up to 20 per post): 9,240 comments on 970 posts — 73% of what was possible, a median of 6 per post.
- Earlier test on 45 other Pages: 39 of 45 returned posts; 50 posts covered a median of about 4 months.

### FAQ

**Do I need a Facebook account or cookies?** No.

**How far back can it go?** Use `onlyPostsOlderThan` to jump to any date. In our test, 50 posts per Page worked on every Page that had them.

**Why are some comments missing?** Facebook shows logged-out visitors only part of the comments, and its comment count includes replies. You get the visible ones (73% of what was possible in our test).

**Can I scrape groups?** No — groups need a login.

**Can I scrape a person's profile?** Yes, if it is public. Facebook may show fewer posts on profiles than on Pages.

### For AI agents

Minimal input: `{ "startUrls": ["<page url or name>"], "maxPostsPerPage": 10 }`. Each row has `status` (`ok` or `failed`); failed rows have a `reason` and are not charged. Comments are in `topComments` when `includeComments` is true.

### Support & feature requests

Found a bug, a missing field, or need another field or integration? Open an issue in the **Issues** tab. We add it to this Actor so you can use it right here on Apify. We aim to reply within one working day.

### Disclaimer

This Actor reads only what Facebook shows to logged-out visitors. It is not affiliated with Meta. Results can contain personal data (names in comments, public profiles): you need a legitimate reason to process it, and you are responsible for how you use it.

### Keywords

facebook posts scraper, facebook page scraper, facebook post scraper no login, scrape facebook page posts, facebook comments scraper, facebook monitor, facebook new post alert, facebook to slack, facebook post url scraper, facebook reactions

### Related Actors

- [Facebook Ads Library Scraper & Monitor](https://apify.com/first-penguin/facebook-ads-library-scraper-monitor)
- [Facebook Search Scraper](https://apify.com/first-penguin/facebook-search-scraper) – search Facebook posts, Pages and people by keyword, no login
- [Facebook Group Posts Scraper](https://apify.com/first-penguin/facebook-groups) – posts from public Facebook groups, with new-post alerts
- [Instagram Profile Monitor](https://apify.com/first-penguin/instagram-profile-monitor) – follower tracking with alerts
- [TikTok Profile Scraper](https://apify.com/first-penguin/tiktok-profile-scraper-monitor) – profiles and recent videos with change alerts

# Actor input Schema

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

Page URLs (https://www.facebook.com/nasa), Page names (nasa), numeric IDs, profile.php?id=… links, or post / photo URLs. Mix them freely. Groups, reels and video URLs are not supported.

## `maxPostsPerPage` (type: `integer`):

Hard limit per Page or profile, newest first. You are never charged for more than this.

## `onlyPostsNewerThan` (type: `string`):

A date (2026-01-31) or a period (3 days, 2 weeks, 1 month). Reading stops at the first older post, so you don't pay for old posts.

## `onlyPostsOlderThan` (type: `string`):

A date (2025-12-31) or a period (1 year). Facebook jumps straight to that date, so a run for an old month does not page through everything newer first.

## `includeComments` (type: `boolean`):

Add the comments Facebook shows to logged-out visitors (text, author, date) to each post row as topComments. Replies are not included. Each comment is billed.

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

Only used when Include comments is on.

## `onlyNewPosts` (type: `boolean`):

Return only posts that no earlier run with the same monitor name returned. The first run returns everything and remembers it. Reading stops once it reaches posts you already have, so scheduled runs stay cheap. The list of seen post IDs is stored only in your own Apify account.

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

Use different names to keep separate watch lists.

## `slackWebhookUrl` (type: `string`):

Optional. In monitor mode, one message per Page when it has new posts.

## `discordWebhookUrl` (type: `string`):

Optional. Same as Slack.

## `webhookUrl` (type: `string`):

Optional. In monitor mode, receives a JSON POST per Page with new posts: event, source, newPosts (full rows), detectedAt.

## `maxConcurrency` (type: `integer`):

How many Pages to read at the same time.

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

Residential proxy is required: Facebook blocks datacenter IPs.

## Actor input object example

```json
{
  "startUrls": [
    "https://www.facebook.com/nasa"
  ],
  "maxPostsPerPage": 20,
  "includeComments": false,
  "maxCommentsPerPost": 10,
  "onlyNewPosts": false,
  "monitorName": "default",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# Actor output Schema

## `posts` (type: `string`):

One row per post. Inputs that returned nothing are free rows with a reason.

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

Per input: how many posts were read and why reading stopped.

# 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": [
        "https://www.facebook.com/nasa"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("first-penguin/facebook-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 = {
    "startUrls": ["https://www.facebook.com/nasa"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

# Run the Actor and wait for it to finish
run = client.actor("first-penguin/facebook-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 '{
  "startUrls": [
    "https://www.facebook.com/nasa"
  ],
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}' |
apify call first-penguin/facebook-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,first-penguin/facebook-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/x8scGN6ynSamHOR9H/builds/STsN2IxdRiDi7f0nH/openapi.json
