# Facebook Page Posts Scraper: Latest Posts, No Login (`bardach_technologies/facebook-page-posts-scraper`) Actor

Facebook page posts scraper for public business and organisation Pages, no login: Page name, category, followers and the 3 newest posts a visitor sees, with text, date, reactions, comments, shares, links, images, video. Only-new mode for monitoring. USD 2.50 per 1,000 posts + USD 1 per 1,000 Pages.

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

## Pricing

from $2.50 / 1,000 post delivereds

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 Page Posts Scraper: latest posts of public Pages, no login

Scrape the **newest public posts of Facebook Pages** of businesses, brands, media, museums and public agencies, without login, cookies or an account. Paste Page links or handles; get the Page's name, ids, category and follower count, and its newest posts with text, publication time, reactions, comments, shares, attached link, images and video. Turn on **only new posts** to monitor many Pages at regular intervals and pay only for posts you have not received before.

### What you get, honestly

A logged-out visitor is shown **3 posts per Page**: measured on 18.11.2026 on 4 large Pages (a museum, a news organisation, a drink brand and a space agency), 3 of 3 posts on each, after which the site shows its login dialog and loads nothing more. This Actor therefore delivers **at most 3 posts per Page**, the newest ones as the Page shows them. It is made for watching what many Pages post (brand and competitor monitoring, news Pages, public agencies), not for a Page's full history.

- `maxPostsPerPage` 1: only the plain page is read (fast, about 0.2 to 0.3 MB per Page); it carries the newest post.
- `maxPostsPerPage` 2 or 3 (default 3): the Page is opened in a headless browser like a visitor and scrolled; the page then loads its next 2 posts by itself. Images, fonts and video are not downloaded.
- Not read: groups, personal profiles, comments and commenters, reactions by person, posts older than the 3 shown, private or age-restricted content, anything behind the login.

Success rate: 12 of 12 Page reads of existing Pages returned data from a home connection on 18.11.2026 (4 Pages, plain and browser route, no proxy). From Apify's servers it is **not measured yet** (see LIVE-TEST-TODO.md). The site may answer with its login page or a check page; such a Page gets a free Page row with status `login_wall` or `blocked`, it is not asked again (no retry, no new proxy address), and the run stops reading: every later Page gets a free `source_stopped` row and is not requested. A restart of the same run stays stopped.

### Input

| Field | What it does |
|---|---|
| `pages` | Page links (`https://www.facebook.com/NASA`), handles (`NASA`, `@NASA`), `profile.php?id=` links or numeric ids, up to 500. Groups, personal-profile links, single posts and other site areas are refused in a free row (`invalid_input`). |
| `maxPostsPerPage` | 1 to 3, default 3. |
| `onlyNewPosts` | Remember delivered post ids per Page (named key-value store `facebook-page-seen-posts`, kept between your runs) and deliver only posts not delivered before. The plain page is read first; the browser is used only when its newest post is new. |
| `requestDelaySeconds` | Pause between two Page loads, 2 to 30 s, default 3. It cannot be set below 2: the Actor loads at most one Page every 2 seconds. |
| `proxyConfiguration` | Default: no proxy. Apify's datacentre proxy (no group) or your own proxy URLs may be used; each Page gets one address, and a refusal is never asked again on another address. Only no group or the datacentre group BUYPROXIES94952 is accepted; every other group is refused, and the RESIDENTIAL group is refused too (the prices are set for direct and datacentre reads). |

Example (the prefill, about 15 seconds from a home connection): `{"pages": ["https://www.facebook.com/NASA", "https://www.facebook.com/metmuseum"], "maxPostsPerPage": 3}`.

### Output

One `post` row per post, then one `page` row per input entry (written last for that entry).

Post rows: `pageName`, `pageId`, `profileId`, `handle`, `pageUrl`, `category`, `followers`, `position` (1 = newest), `postId`, `postUrl`, `publishedAt` (UTC), `text`, `hashtags`, `postType` (text, photo, album, video, reel, link, other), `reactionCount`, `reactionCountText`, `commentCount`, `shareCount`, `videoViewCount`, `videoPlayCount`, `linkUrl`, `linkTitle`, `imageUrls`, `videoUrl`, `videoThumbnailUrl`, `videoFileUrl`, `videoDurationSeconds`, `sharesAnotherPost`, `status`, `scrapedAt`. Picture and video file links come from the site and expire after some days.

Page rows: the Page details (`pageName`, `pageId`, `profileId`, `handle`, `pageUrl`, `category`, `followers`, `talkingAbout`, `wereHere`, `likes` where shown, `isVerified` where the page data states it, `profilePictureUrl`, `introSnippet`) and `status` (`ok`, `not_found`, `not_a_page`, `login_wall`, `blocked`, `invalid_input`, `skipped_max_charge`, `state_unavailable`, `source_stopped`), `message`, `postsVisible`, `postsDelivered`, `newPosts`, `route`, `requests`, `bytesReceived`, `stopReason`, `charged`.

Contact masking: in `text`, `linkTitle` and `introSnippet` phone numbers (also written with spaces, dots, brackets or a leading +), e-mail addresses (also written as "name at domain dot com") and WhatsApp links are replaced by `[removed]`; `hashtags` are read from the masked text. `linkUrl` is shown without user name, password and fragment, keeps only short plain query values (1 to 5 digits, or up to 32 letters, `-` and `_`), is shown as `https://<host>/[removed]` when its path holds an e-mail address or a phone number, and is left empty for mail, phone and WhatsApp links. Post, Page, picture and video links are the site's own addresses and stay as given.

Example post row (real, shortened text): `{"type": "post", "pageName": "NASA - National Aeronautics and Space Administration", "position": 1, "postId": "1690599575768745", "publishedAt": "2026-11-17T22:03:34+00:00", "postType": "photo", "text": "Beauty in chaos ...", "reactionCount": 1739, "commentCount": 44, "shareCount": 168}`.

The run summary (key-value store record `OUTPUT`) gives the outcome (`complete`, `stoppedEarly`, `incomplete`), Pages by status, posts delivered, events charged, requests and bytes received.

### Pricing

Pay per event:

- **Post delivered: USD 0.0025** (USD 2.50 per 1,000 posts).
- **Page read: USD 0.001** (USD 1 per 1,000 Pages), once per Page that was read, also when only-new mode found no new post.
- Apify's own Actor start event, USD 0.00005 per run.

A Page with 3 posts costs USD 0.0085. Pages not found, blocked, behind a login wall, not a business Page or not usable cost nothing. Posts already delivered (only-new mode) cost nothing. Your maximum charge per run is kept exactly: a Page is read only when its fee and at least one post still fit. After a restart of the same run, rows already written are not written or charged again.

### Limits and what this Actor does not do

- At most 3 posts per Page (what a logged-out visitor sees); counts are those the page shows at the time of the read.
- No login, no cookies, no accounts, no CAPTCHA solving, no check-page bypassing; a login or check page is reported, never worked around.
- No personal profiles, no groups, no commenter data. The Actor is not affiliated with the site it reads.
- Speed and memory on Apify's servers: not measured. From a home connection a browser read took about 6 seconds and about 3.3 to 4.4 MB per Page.

### Status

Built 18.11.2026 and live-tested from a home connection only; the first runs on Apify's servers are listed in LIVE-TEST-TODO.md.

# Actor input Schema

## `pages` (type: `array`):

Public Facebook Pages of businesses and organisations, one per entry: a Page link (https://www.facebook.com/NASA), a handle (NASA or @NASA), a profile.php?id= link or a numeric id (up to 500). Groups, personal profiles, single posts and other site areas are refused in a free row. Empty list: the run ends at once and charges nothing.

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

How many of the newest posts to deliver per Page, 1 to 3, default 3. A logged-out visitor is shown 3 posts per Page (measured on 4 large Pages, 18.11.2026), so more cannot be read without login. 1 reads only the plain page (fast and light); 2 or 3 load the Page in a headless browser like a visitor and scroll.

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

Remember the post ids already delivered per Page (named key-value store 'facebook-page-seen-posts', kept between your runs) and deliver and charge only posts not delivered before. The plain page is read first; the browser is used only when its newest post is new. The Page row is still written and charged as 'Page read'. Default off.

## `requestDelaySeconds` (type: `number`):

Pause between two Page loads of this run, 2 to 30 seconds, default 3. It cannot be set below 2: this Actor loads at most one Page every 2 seconds.

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

Default: no proxy (the Actor's own address). You may switch on Apify's datacentre proxy (leave the group empty) or give your own proxy URLs; each Page then gets one address, and a refusal is never asked again on another address. Only no group or the datacentre group BUYPROXIES94952 is accepted; the RESIDENTIAL group is refused, as is every other group: the prices are set for direct and datacentre reads.

## Actor input object example

```json
{
  "pages": [
    "https://www.facebook.com/NASA",
    "https://www.facebook.com/metmuseum"
  ],
  "maxPostsPerPage": 3,
  "onlyNewPosts": false,
  "requestDelaySeconds": 3,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

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

Post rows (charged), then one Page row per input entry: status ok (charged as 'Page read'), not_found, not_a_page, login_wall, blocked, invalid_input, skipped_max_charge, state_unavailable or source_stopped (all free).

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

How the run ended (complete, stoppedEarly or incomplete), Pages by status, posts delivered, events charged, requests, bytes received and whether a proxy was used.

# 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 = {
    "pages": [
        "https://www.facebook.com/NASA",
        "https://www.facebook.com/metmuseum"
    ],
    "maxPostsPerPage": 3
};

// Run the Actor and wait for it to finish
const run = await client.actor("bardach_technologies/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 = {
    "pages": [
        "https://www.facebook.com/NASA",
        "https://www.facebook.com/metmuseum",
    ],
    "maxPostsPerPage": 3,
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,bardach_technologies/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/3IX9CIMejwsyFlwxN/builds/IH6kzB7FSxTbfxCyS/openapi.json
