# Facebook New Post Alerts for Pages (Slack, Discord, Webhook)

**Use case:** 

Watch a list of Facebook Pages and get only the posts published since the last run, with text, date, reactions, comments and shares. Schedule it daily or hourly and send new posts to Slack, Discord or a webhook. You pay only for new posts. No Facebook login or cookies. $0.99 per 1,000 posts.

## Input

```json
{
  "startUrls": [
    "https://www.facebook.com/nasa",
    "https://www.facebook.com/natgeo",
    "https://www.facebook.com/bbcnews",
    "https://www.facebook.com/cnn"
  ],
  "maxPostsPerPage": 10,
  "includeComments": false,
  "maxCommentsPerPost": 10,
  "onlyNewPosts": true,
  "monitorName": "news-pages-example",
  "maxConcurrency": 3,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

## Output

```json
{
  "status": {
    "label": "Status"
  },
  "pageName": {
    "label": "Page"
  },
  "time": {
    "label": "Posted"
  },
  "text": {
    "label": "Text"
  },
  "reactions": {
    "label": "Reactions",
    "format": "number"
  },
  "comments": {
    "label": "Comments",
    "format": "number"
  },
  "shares": {
    "label": "Shares",
    "format": "number"
  },
  "url": {
    "label": "Post",
    "format": "link"
  },
  "isNew": {
    "label": "New (monitor)",
    "format": "boolean"
  },
  "reason": {
    "label": "Why not returned"
  },
  "input": {
    "label": "Input"
  }
}
```

## How it works

### 1. Sign up on Apify or log in

The Facebook Posts Scraper 💰 $0.99/1K · New-Post Alerts · No Login Actor is ready to run with the inputs already set for "Facebook New Post Alerts for Pages (Slack, Discord, Webhook)". [Sign up or log in](https://console.apify.com/create-task-from-example/4QewBOyhScRlJEiTd) and you'll land in Apify Console with a copy of this exact task.

### 2. Start the "Facebook New Post Alerts for Pages (Slack, Discord, Webhook)" task

The Facebook Posts Scraper 💰 $0.99/1K · New-Post Alerts · No Login Actor will start running based on the input automatically. You can also change all the input fields, like facebook pages, profiles or post urls, max posts per page, and more, to match your specific use case.

### 3. Receive the "Facebook New Post Alerts for Pages (Slack, Discord, Webhook)" output

Monitor the progress in real time. You will be notified as soon as your dataset is complete and ready for review. Each result includes data such as status, page, posted, and more.

### 4. Integrate into your workflow

The final output is delivered in JSON, CSV, or Excel format, ready to be plugged into your workflow. You can also [run the "Facebook New Post Alerts for Pages (Slack, Discord, Webhook)" task via API](https://apify.com/first-penguin/facebook-posts-scraper.md).

## FAQ

### Why is the first run full of posts?

The first run has nothing to compare with, so it returns the latest posts up to your limit and remembers them. From the second run on, only posts you have not seen are returned and charged.

### How do I run it every day?

Save this task in your account and add a schedule. Daily suits most Pages; hourly suits busy news Pages.

### Where is the list of seen posts kept?

In a key-value store in your own Apify account, named after the watch list. The developer stores nothing.

## About this Actor

This example demonstrates how to use [Facebook Posts Scraper 💰 $0.99/1K · New-Post Alerts · No Login](https://apify.com/first-penguin/facebook-posts-scraper.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/first-penguin/facebook-posts-scraper.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

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 full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/first-penguin/facebook-posts-scraper.md

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`).
