# Facebook Page New-Post Monitor & RSS Feed (`alpha-scraper/facebook-page-new-post-monitor-rss-feed`) Actor

\[ 1k/1.49$ ] Facebook Page New-Post Monitor & RSS Feed watches public Facebook Pages and profiles and emits only posts not seen in earlier runs, with a cumulative RSS 2.0 feed of the newest posts and optional webhook delivery. The first run records the latest posts.

- **URL**: https://apify.com/alpha-scraper/facebook-page-new-post-monitor-rss-feed.md
- **Developed by:** [Alpha Scraper](https://apify.com/alpha-scraper) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 Page New-Post Monitor & RSS Feed

**Facebook Page New-Post Monitor & RSS Feed** watches public Facebook Pages and profiles for new posts between runs. On the first run Facebook Page New-Post Monitor & RSS Feed returns the latest posts of each Page and remembers them. Later runs return only posts it has not seen before, and a cumulative RSS 2.0 feed of the newest posts is kept up to date.

New posts can also be sent to your own webhook as JSON. Facebook Page New-Post Monitor & RSS Feed reads public, logged-out Facebook content only, so you need no Facebook account or login.

> **📌 At a glance**
>
> - **Input:** Facebook Page usernames, ids or URLs to watch
> - **Output:** one record per new post, plus one feed summary record at the end of every run
> - **Feed:** a cumulative RSS 2.0 file with the newest posts across all runs
> - **Alerts:** an optional webhook that receives the new posts as a JSON POST

Marketers, PR teams, researchers and developers use Facebook Page New-Post Monitor & RSS Feed to follow Facebook Pages without checking them by hand. Schedule it in Apify, subscribe to the RSS feed, or connect the webhook to your own tools.

### 🔹 Facebook Page New-Post Monitor & RSS Feed – Key Features

Facebook Page New-Post Monitor & RSS Feed is built for repeated runs, so each run focuses on what changed.

- **New posts only:** after the first run, only Facebook posts that were not seen before are returned.
- **First-run seed:** the first run of every Page returns its latest Facebook posts and remembers them.
- **RSS 2.0 feed:** a valid feed file that any feed reader can subscribe to, newest posts first.
- **Cumulative feed:** the feed keeps the newest posts across all runs, up to your `rssMaxItems` limit.
- **Webhook delivery:** Facebook Page New-Post Monitor & RSS Feed sends the posts found in a run to `webhookUrl` as a JSON POST.
- **Several Facebook Pages in one run:** each Page keeps its own memory and its own first-run limit.
- **Per-Page report:** the feed record shows how many posts were scanned and how many were new for every Facebook Page.
- **Reset option:** Facebook Page New-Post Monitor & RSS Feed forgets everything when you turn on `resetState` and seeds all Pages again.
- **Rich Facebook post data:** text, type, reactions, comments, shares, media, hashtags and links.

> **✅ Why use this Actor**
>
> Checking Facebook Pages by hand is slow, and a plain scrape returns the same posts every time. Facebook Page New-Post Monitor & RSS Feed compares each run with the last one and gives you only the new Facebook posts.

### 🔍 What Data Does Facebook Page New-Post Monitor & RSS Feed Extract?

The dataset has two record types. A `post` record from Facebook Page New-Post Monitor & RSS Feed describes one new Facebook post.

| Group | Fields | What you get |
|---|---|---|
| Record | `recordType`, `reason` | Record type and why the post was returned |
| Identity | `postId`, `url`, `pageUrl` | Post id, link and the watched Facebook Page |
| Content | `type`, `text`, `hashtags`, `links` | Post type, text and extracted signals |
| Time | `time`, `detectedAt` | Publish time and when it was detected |
| Author | `author` | Author id, name and URL |
| Engagement | `reactionCount`, `commentCount`, `shareCount`, `viewCount` | Public Facebook counters |
| Media | `media` | Photos, videos and captions |

At the end of every run, Facebook Page New-Post Monitor & RSS Feed adds one `feed` record with the feed title, the RSS file link, the time of the run and a report for every Page.

### 🚀 How to Use Facebook Page New-Post Monitor & RSS Feed

Running Facebook Page New-Post Monitor & RSS Feed takes a few steps in Apify Console.

- **Step 1 – Open the Actor:** start Facebook Page New-Post Monitor & RSS Feed from the Apify Store and open the Input tab.
- **Step 2 – Add Pages:** enter Facebook usernames in `usernames` or Page URLs in `startUrls`.
- **Step 3 – Set the first-run size:** choose `maxItems` for how many latest Facebook posts each Page returns on its first run.
- **Step 4 – Optional extras:** set `rssTitle` and `webhookUrl`, and adjust `scanDepth` and `rssMaxItems`.
- **Step 5 – Run once:** the first run seeds every Page and creates the RSS feed.
- **Step 6 – Schedule it:** use an Apify schedule so each later run returns only new posts.

> **💡 Tip:** the input is prefilled with a sample username. Replace `usernames` with your own Facebook Pages before you run Facebook Page New-Post Monitor & RSS Feed.

### 📥 Facebook Page New-Post Monitor & RSS Feed Input

Facebook Page New-Post Monitor & RSS Feed has eight input fields. All are optional, but you need at least one username or URL.

| Field | Type | Description |
|---|---|---|
| `usernames` | array | Facebook Page usernames or numeric Page or profile ids to watch, for example `natgeo`. |
| `startUrls` | array | Page or profile URLs, such as `https://www.facebook.com/nike`. Tab suffixes like `/reels` are removed. |
| `rssTitle` | string | Title of the RSS feed. Empty uses `Facebook posts: <page names>`. |
| `webhookUrl` | string | Optional URL that receives the posts of a run as a JSON POST. Called only when at least one post was returned. |
| `resetState` | boolean | Forget the remembered posts and RSS items, and seed all Pages again. Default false. |
| `scanDepth` | integer | Later runs: how many of each Facebook Page's latest posts are scanned for new ones. Default 30, minimum 1. |
| `rssMaxItems` | integer | Number of posts kept in the cumulative RSS feed. Default 50, minimum 1. |
| `maxItems` | integer | First run of a Page: how many latest Facebook posts are returned and remembered. Default 30, minimum 1. |

In Facebook Page New-Post Monitor & RSS Feed every Page gets its own `maxItems` limit, so five Pages with a limit of 20 return up to 100 posts on the first run. A logged-out Facebook timeline is not strictly chronological, so a higher `scanDepth` is safer for busy Pages.

Here is a sample input for Facebook Page New-Post Monitor & RSS Feed:

```json
{
  "usernames": ["natgeo"],
  "startUrls": ["https://www.facebook.com/nike"],
  "rssTitle": "Brand posts from Facebook",
  "webhookUrl": "https://example.com/hooks/facebook-posts",
  "resetState": false,
  "scanDepth": 30,
  "rssMaxItems": 50,
  "maxItems": 20
}
```

### 📤 Facebook Page New-Post Monitor & RSS Feed Output

Facebook Page New-Post Monitor & RSS Feed writes new posts to the default dataset, newest first for each Page. Here is a `post` record with synthetic values:

```json
{
  "recordType": "post",
  "reason": "new_post",
  "postId": "1234567890123456",
  "url": "https://www.facebook.com/samplepage/posts/pfbid0ExampleSamplePostId",
  "time": "2026-11-06T11:00:00.000Z",
  "type": "photo",
  "text": "New autumn collection is live today. Tell us your favorite! #autumn",
  "author": { "id": "100000000000001", "name": "Sample Page", "url": "https://www.facebook.com/samplepage" },
  "reactionCount": 518,
  "commentCount": 16,
  "shareCount": 34,
  "viewCount": null,
  "hashtags": ["#autumn"],
  "links": null,
  "media": [
    { "type": "photo", "id": "9876543210987654", "url": "https://example.com/photo/9876543210987654", "image": "https://example.com/image.jpg", "width": 1080, "height": 1350, "caption": "May be an image of a jacket" }
  ],
  "pageUrl": "https://www.facebook.com/samplepage",
  "detectedAt": "2026-11-06T16:26:54.000Z"
}
```

The last record of each run is the `feed` record:

```json
{
  "recordType": "feed",
  "title": "Brand posts from Facebook",
  "rssFile": "https://example.com/storage/facebook-page-new-post-monitor-rss-feed.xml",
  "generatedAt": "2026-11-06T16:26:54.000Z",
  "pages": [
    {
      "url": "https://www.facebook.com/samplepage",
      "name": "Sample Page",
      "scanned": 30,
      "new": 1,
      "firstRun": false,
      "newestPostTime": "2026-11-06T11:00:00.000Z",
      "error": null
    }
  ],
  "newPostsThisRun": 1,
  "rssItemsTotal": 50,
  "firstRunPages": [],
  "webhook": { "status": 200 }
}
```

#### 🧾 Output field guide

- `reason` is `first_run_seed` for the first run of a Page and `new_post` afterwards.
- `postId`, `url` and `pageUrl` identify the Facebook post and the Page you watch.
- `time` is the publish time, and `detectedAt` is when Facebook Page New-Post Monitor & RSS Feed found the post.
- `reactionCount`, `commentCount`, `shareCount` and `viewCount` are public counters and can be `null`.
- `media` lists Facebook photos and videos with `image`, size and `caption`.
- `rssFile` links to the RSS 2.0 file, and `rssItemsTotal` is the number of items in it.
- `pages` reports `scanned`, `new`, `firstRun`, `newestPostTime` and an `error` text for every Page.
- `newPostsThisRun` counts the posts returned in this run, and `firstRunPages` lists the Pages seeded in this run.
- `webhook` appears only when `webhookUrl` was called, with the response `status` or an `error`.

### 🔔 How to Get Alerts and an RSS Feed for New Facebook Page Posts

For an RSS feed, run Facebook Page New-Post Monitor & RSS Feed on a schedule and open the `rssFile` link from the `feed` record. Each item has a title with the Page name, a link, the publish date, the post text, an image and the reaction, comment and share counts of the Facebook post. Hashtags become feed categories.

For alerts, set `webhookUrl`. After each run that returns at least one post, Facebook Page New-Post Monitor & RSS Feed sends a JSON POST with a `newPosts` list and the `feed` summary. Any service that accepts a JSON POST can receive it.

A post counts as new when its id was never seen before and it was published after the newest post that the previous run knew about. Older posts that only reappear in the Facebook timeline are ignored.

### 🎯 Facebook Page New-Post Monitor & RSS Feed Use Cases

Facebook Page New-Post Monitor & RSS Feed fits many monitoring workflows.

- **Competitor tracking:** get a notice when a rival Facebook Page publishes a new post.
- **Brand monitoring:** follow your own Facebook Pages and partner Pages in one feed.
- **News and media monitoring:** subscribe to Facebook Page updates in any feed reader.
- **Content curation:** collect fresh Facebook posts for newsletters and roundups.
- **Workflow triggers:** use Facebook Page New-Post Monitor & RSS Feed to forward new posts to your own endpoint through the webhook.
- **Archiving:** build a growing dataset of Facebook posts with Facebook Page New-Post Monitor & RSS Feed, one run at a time.
- **Campaign watching:** use `maxItems` and `scanDepth` to follow a Facebook Page during a launch.

### 💰 Pricing

Facebook Page New-Post Monitor & RSS Feed runs on the Apify platform. The current pricing is shown on the Actor page in the Apify Store, and your cost depends on the number of results and the resources used by the run.

> **💡 Cost tip:** later runs return only new posts, so scheduled runs usually cost less than the first run. Keep `maxItems` and `scanDepth` modest and watch fewer Pages if you want to lower the cost.

### 💡 Tips and Best Practices

- **Seed first:** run Facebook Page New-Post Monitor & RSS Feed once manually to confirm the Pages and the first-run size.
- **Schedule regularly:** shorter intervals give fresher Facebook alerts and smaller batches of new posts.
- **Raise scan depth for busy Pages:** a busy Facebook Page may need a `scanDepth` above 30.
- **Use reset sparingly:** `resetState` forgets all Pages, so the next run returns first-run posts again.
- **Check the Page report:** an `error` in `pages` means that Page could not be read in that run.
- **Remember the first run:** `first_run_seed` posts are the latest posts, not necessarily new ones.
- **Expect public data only:** fields such as `viewCount` can be `null` when Facebook does not show them.

> **⚠️ Important:** only collect data you are allowed to use. Public Facebook posts can contain personal data, so follow Facebook's terms and privacy rules such as GDPR. This Actor is not affiliated with or endorsed by Meta.

### ❓ Frequently Asked Questions

#### 🔎 What is Facebook Page New-Post Monitor & RSS Feed?

Facebook Page New-Post Monitor & RSS Feed is an Apify Actor that watches public Facebook Pages, returns only new posts between runs, and keeps an RSS 2.0 feed of the newest posts.

#### 🧭 How do I monitor a Facebook Page for new posts?

Add the Page to `usernames` or `startUrls`, run Facebook Page New-Post Monitor & RSS Feed once, then schedule it. Each later run returns only new posts.

#### 📰 Can I get an RSS feed of a Facebook Page?

Yes. Facebook Page New-Post Monitor & RSS Feed writes an RSS 2.0 feed and gives you its link in the `rssFile` field of the `feed` record.

#### 🔔 Can Facebook Page New-Post Monitor & RSS Feed send new Facebook posts to a webhook?

Yes. Set `webhookUrl`. Facebook Page New-Post Monitor & RSS Feed sends a JSON POST with the new posts after each run that found at least one.

#### 🧠 How does Facebook Page New-Post Monitor & RSS Feed know which posts are new?

Facebook Page New-Post Monitor & RSS Feed remembers the posts it has seen for every Page. A post is new when its id is unseen and it is newer than the newest post of the previous run.

#### 🔐 Does Facebook Page New-Post Monitor & RSS Feed need a Facebook login?

No. Facebook Page New-Post Monitor & RSS Feed reads publicly visible Facebook content, so no account or API key is required.

#### 🔁 What happens on the first run?

Facebook Page New-Post Monitor & RSS Feed returns up to `maxItems` latest posts per Page with the reason `first_run_seed` and remembers them.

#### ♻️ How do I reset Facebook Page New-Post Monitor & RSS Feed and start from scratch?

Turn on `resetState`. The next run forgets all remembered posts and RSS items and seeds every Page again.

#### 📊 Can I export Facebook Page New-Post Monitor & RSS Feed results to CSV or Excel?

Yes. Any Apify dataset can be downloaded as JSON, CSV, Excel, XML or HTML, or read through the Apify API.

#### 🚫 Can Facebook Page New-Post Monitor & RSS Feed watch private Facebook profiles or groups?

No. Only public Facebook Pages and profiles are read, and private content is not available.

### 📞 Support

If you have questions, ideas for new fields or a Page that does not return posts, send the Page name and the input you used.

- Contact me by email: alphascraper69@gmail.com

# Actor input Schema

## `usernames` (type: `array`):

Page usernames or numeric Page / profile ids to watch, e.g. natgeo.

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

Page or profile URLs to watch, e.g. https://www.facebook.com/nike. Tab suffixes such as /reels are removed.

## `rssTitle` (type: `string`):

Title of the generated RSS feed. Leave empty for "Facebook posts: <page names>".

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

Optional URL that receives the posts found in this run as a JSON POST ({"newPosts": \[...], "feed": {...}}). Only called when at least one post was emitted.

## `resetState` (type: `boolean`):

Forget everything the monitor remembers (seen posts and RSS items) and seed all Pages again as on a first run.

## `scanDepth` (type: `integer`):

Later runs: how many of each Page's latest posts are scanned when looking for new ones. A logged-out timeline returns about 3 posts per request and is not strictly chronological, so scanning deeper is safer.

## `rssMaxItems` (type: `integer`):

Number of posts kept in the cumulative RSS feed (newest first, across all runs).

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

First run of a Page: how many of its latest posts are emitted and remembered. Every Page gets its own limit, so N Pages return up to N x this value.

## Actor input object example

```json
{
  "usernames": [
    "natgeo",
    "Cristiano"
  ],
  "startUrls": [
    "https://www.facebook.com/mrbeast/",
    "https://www.facebook.com/leomessi/"
  ],
  "resetState": false,
  "scanDepth": 30,
  "rssMaxItems": 50,
  "maxItems": 15
}
```

# Actor output Schema

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

Structured records extracted by Facebook Page New-Post Monitor & RSS Feed and stored in the run's default dataset.

# 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 = {
    "usernames": [
        "natgeo",
        "Cristiano"
    ],
    "startUrls": [
        "https://www.facebook.com/mrbeast/",
        "https://www.facebook.com/leomessi/"
    ],
    "scanDepth": 30,
    "rssMaxItems": 50,
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("alpha-scraper/facebook-page-new-post-monitor-rss-feed").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 = {
    "usernames": [
        "natgeo",
        "Cristiano",
    ],
    "startUrls": [
        "https://www.facebook.com/mrbeast/",
        "https://www.facebook.com/leomessi/",
    ],
    "scanDepth": 30,
    "rssMaxItems": 50,
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("alpha-scraper/facebook-page-new-post-monitor-rss-feed").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 '{
  "usernames": [
    "natgeo",
    "Cristiano"
  ],
  "startUrls": [
    "https://www.facebook.com/mrbeast/",
    "https://www.facebook.com/leomessi/"
  ],
  "scanDepth": 30,
  "rssMaxItems": 50,
  "maxItems": 15
}' |
apify call alpha-scraper/facebook-page-new-post-monitor-rss-feed --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,alpha-scraper/facebook-page-new-post-monitor-rss-feed"
        }
    }
}
```

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/9yCHutT6T4enUvzhJ/builds/RCpE7b9gIRxChyhtO/openapi.json
