# Facebook Posts Scraper: New Posts & Engagement Growth (`h1018y/anvil-facebook-posts-scraper`) Actor

Scrapes public Facebook Pages on a schedule and returns the posts that are new since your last run (from the ~3 newest a logged-out visitor sees), with reactions, comments, shares and how much they grew. No login.

- **URL**: https://apify.com/h1018y/anvil-facebook-posts-scraper.md
- **Developed by:** [ANVIL Tools](https://apify.com/h1018y) (community)
- **Categories:** Social media, Marketing
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.37 / 1,000 results

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 Posts Scraper: New Posts & Engagement Growth

**Facebook Posts Scraper** - Point it at any public Facebook Page on a schedule and get only the posts that are new since your last run - plus how much each post's reactions, comments and shares grew.

### What does Facebook Posts Scraper do?

Every repeat run tells you which posts are new and adds reactionsChange, commentsChange and sharesChange per post since your last run, so you see which posts are taking off - the popular Facebook post scrapers return the same full list every time and leave the diff to you.

- Only new posts since your last run (daily alerts)
- Reactions, comments and shares - and how much each grew since last run
- Post text, time, link and images
- Many Pages in one run, by address or just the name
- The newest ~3 posts per Page that Facebook shows without login - no login, no CAPTCHA solving, no commenter names

### Why this Facebook Posts Scraper?

Facebook keeps changing its page data and its logged-out limits, so cheap scrapers break or return nothing. This Facebook Posts Scraper checks every run and tells you plainly when a page could not be read, instead of returning empty or wrong rows.

### How to use Facebook Posts Scraper

1. Press **Start** - the form already holds an example that works.
2. Put in your own input (see the fields on the Input tab).
3. Run it once, or put it on an **Apify Schedule** to get fresh rows every day.
4. Download the results as JSON, CSV or Excel, or send them to Google Sheets, Zapier, Make, the Apify API or an AI agent (Apify MCP server).

#### Input example

```json
{
  "pageUrls": [
    "https://www.facebook.com/NASA"
  ],
  "postsPerPage": 3,
  "onlyNew": false,
  "maxItems": 10,
  "useApifyProxy": true
}
```

#### Output example (a real run)

```json
[
  {
    "pageUrl": "https://www.facebook.com/NASA",
    "status": "seen",
    "postId": "1655118742650162",
    "postUrl": "https://www.facebook.com/reel/1902291290735944/",
    "text": "It's a new off-world record! 🏅\n\nNASA’s Perseverance Mars rover has driven farther than any vehicle ever has on the surface of another planetary body. \n\nOn Oct. 11, the six-wheeled geologist's odometer hit 28.10 miles (45.22 kilometers), surpassing in less than six years a mark set by NASA's Opportunity rover, which explored the Red Planet for nearly 15 years. Much of the credit belongs to Perseverance’s advanced self-driving capability. \n\nSetting distance records is just a bonus for the mission. Longer drives are putting more geological diversity within reach faster, taking the rover from an ancient lakebed up a fossilized river system and onto the crater rim, where an entirely different ancient habitat may await exploration.\n\nPerseverance’s record caps nearly three decades of NASA rover operations on Mars, each mission driving farther and more capably than the last.\n\nLearn more about how to go the distance on another planet: https://science.nasa.gov/blogs/perseverance-mars-rover/2026/10/12/nasas-perseverance-sets-off-world-record-for-total-distance-driven/",
    "time": "2026-10-12T22:20:06+00:00",
    "reactions": 808,
    "comments": 42,
    "shares": 48,
    "videoViews": null,
    "imageUrls": [
      "https://scontent-phl2-1.xx.fbcdn.net/v/t15.5256-10/847691169_973319449150311_9164931365666095412_n.jpg?stp=dst-jpg_tt6&cstp=mx1920x1080&ctp=s960x960&_nc_cat=1&ccb=1-7&_nc_sid=5fad0e&_nc_ohc=60wQZt0CzIwQ7kNvwGcLS4S&_nc_oc=AdpeYvyFoYEkRlxnzQb3Go3ICIayUNN6wF7PxbxKYSJUYpmfr4cStweIGleXokf8CQg&_nc_zt=23&_nc_ht=scontent-phl2-1.xx&_nc_gid=_sHqQ7X5XAHf8L_qzsoEJw&_nc_ss=7f289&oh=00_AQM0-M-aUHwCxY5ZnE3eLewok43Qw-fWiOjOPOTXiexxYw&oe=6AD43F9D",
      "https://scontent-phl2-1.xx.fbcdn.net/v/t15.5256-10/844617643_2030022377652538_1383565145250431076_n.jpg?stp=dst-jpg_tt6&cstp=mx1420x800&ctp=s1420x800&_nc_cat=110&ccb=1-7&_nc_sid=06012f&_nc_ohc=F1pyF80t3CQQ7kNvwG3gR_1&_nc_oc=AdoDKEjnG2OkeqDtr0Ll73TKirTAA1eCaMpbCJAFy7s2825Ppjf5o7jo7QgQVBPTZtg&_nc_zt=23&_nc_ht=scontent-phl2-1.xx&_nc_gid=_sHqQ7X5XAHf8L_qzsoEJw&_nc_ss=7f289&oh=00_AQPrrLkgNRAxRhcWTYYcpFalRjWle75aIGQElwwLHEbKmQ&oe=6AD42094",
      "https://scontent-phl2-1.xx.fbcdn.net/v/t15.5256-10/844671738_1822592418745664_3122457558713590677_n.jpg?stp=dst-jpg_tt6&cstp=mx1420x800&ctp=s1420x800&_nc_cat=105&ccb=1-7&_nc_sid=06012f&
```

One flat row per result.

### How much does Facebook Posts Scraper cost?

You pay only per result (pay per event) - no monthly fee, no minimum, and the price per result is lower on Apify's Bronze, Silver and Gold plans. The exact price is on the **Pricing** tab. Apify's free plan credit is enough to try it on real input.

### Also searched as

- facebook page scraper
- facebook page monitor
- facebook engagement tracker
- facebook post scraper no login
- competitor facebook posts

### FAQ

**Does Facebook Posts Scraper need a login, cookies or an API key?** No. It reads public pages only.

**Can I run Facebook Posts Scraper on a schedule?** Yes - with Apify Schedules; each run returns fresh rows.

**Can I call it from Python, JavaScript or an AI agent?** Yes - through the Apify API, the Apify client libraries or the Apify MCP server.

**Is it legal?** It collects only data anyone can see without logging in. You are responsible for using it within the source site's terms and data protection law (GDPR, CCPA).

**What if the site blocks a request?** The run retries from a fresh connection and, if it still cannot read the page, stops with a clear message - never with made-up rows.

Data source: [www.facebook.com](https://www.facebook.com)

### More tools from this developer

- [Tweet Scraper: Tweet Details by URL, No Login or Cookies](https://apify.com/h1018y/anvil-tweet-scraper)
- [YouTube Thumbnail Downloader: Bulk, Every Size & Titles](https://apify.com/h1018y/anvil-youtube-thumbnail-downloader)
- [ML Conference Finder: NeurIPS, ICLR & ICML Alternatives](https://apify.com/h1018y/anvil-ml-conference-finder)
- [YouTube Transcript Scraper: Find Every Moment a Word Is Said](https://apify.com/h1018y/anvil-youtube-transcript-scraper)
- [Facebook Ads Library Scraper: Only New Ads & Days Running](https://apify.com/h1018y/anvil-facebook-ads-library-scraper)
- [Reddit Scraper: Keyword Alerts for New Posts & Comments](https://apify.com/h1018y/anvil-reddit-scraper)
- [Twitter Scraper: New Tweets From Any X Account, No Login](https://apify.com/h1018y/anvil-twitter-scraper)

# Actor input Schema

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

Public Pages of brands, media, public figures - the address or just the name (e.g. NASA).

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

The newest posts. Facebook shows logged-out visitors about the 3 newest posts of a Page - schedule runs (hourly or daily) to catch every new one.

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

Turn on for daily alerts. The first run is the baseline.

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

Stop after this many rows.

## `useApifyProxy` (type: `boolean`):

Recommended.

## `proxyGroups` (type: `array`):

Optional, e.g. RESIDENTIAL.

## Actor input object example

```json
{
  "pageUrls": [
    "https://www.facebook.com/NASA"
  ],
  "postsPerPage": 3,
  "onlyNew": false,
  "maxItems": 10,
  "useApifyProxy": true
}
```

# Actor output Schema

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

All result rows (open as table, JSON, CSV or Excel).

# 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"
    ],
    "postsPerPage": 3,
    "maxItems": 10,
    "useApifyProxy": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("h1018y/anvil-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 = {
    "pageUrls": ["https://www.facebook.com/NASA"],
    "postsPerPage": 3,
    "maxItems": 10,
    "useApifyProxy": True,
}

# Run the Actor and wait for it to finish
run = client.actor("h1018y/anvil-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 '{
  "pageUrls": [
    "https://www.facebook.com/NASA"
  ],
  "postsPerPage": 3,
  "maxItems": 10,
  "useApifyProxy": true
}' |
apify call h1018y/anvil-facebook-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,h1018y/anvil-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/6iGJhnzTfaywm8bA4/builds/AhDjvvxEYy1eaWcd9/openapi.json
