# Facebook Page Posts Scraper (No Login) (`tagadanar/facebook-page-posts-scraper`) Actor

Scrape the public posts of any Facebook Page: text, date, reactions by type, comment and share counts, video views, photos, video and links, one flat row per post. Paste Page links or handles. No login, no cookies. $2 per 1,000 posts.

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

## Pricing

from $1.40 / 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.
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 Posts Scraper (No Login)

Paste the Facebook Pages you follow (brands, competitors, media, public bodies, public figures' Pages) and get their
public posts as a flat table: the post text, when it was posted, the reactions broken down by type, the comment and
share counts, video views, the photo and video links and the links in the post. Newest posts first, as a signed-out
visitor sees them. No Facebook account, no cookies, no browser extension.

**$2 per 1,000 posts on Free ($1.40 on Gold), plus $0.001 per run. Platform usage is included.** No API key, no login, no proxy needed.

### What you get

One flat row per post. Fields Facebook does not show for a post are null.

| Field | What it is |
| --- | --- |
| `pageInput` | The Page as you entered it |
| `pageName` | The Page's name |
| `pageUrl` | The Page's link |
| `pageId` | The Page's numeric id |
| `pageProfileId` | The Page's profile id (the id in profile.php links) |
| `pageFollowers` | Followers, as Facebook rounds them ("28M" -> 28000000) |
| `postId` | The post's id |
| `postUrl` | Link to the post (or the reel / video) |
| `text` | The post's text |
| `createdAt` | When it was posted (ISO 8601, UTC) |
| `timestamp` | The same, in Unix seconds |
| `postType` | photo, album, video, link, share or text |
| `reactionsCount` | All reactions |
| `commentsCount` | Comments |
| `sharesCount` | Shares |
| `reactionLike` ... `reactionAngry` | Like, Love, Care, Haha, Wow, Sad and Angry counts |
| `videoViews` | Video views (video posts) |
| `imageUrls` | Photo links |
| `videoUrl`, `videoThumbnailUrl` | Video file and thumbnail links |
| `media` | Every photo and video with its id, link, thumbnail and alt text |
| `links` | Outside links in the post |
| `hashtags` | Hashtags in the text |
| `isShare`, `sharedPostUrl` | Whether the post shares another post, and its link |
| `retrievedAt` | When the row was fetched (ISO 8601) |

Photo and video links come from Facebook's own servers and expire after a few days: download what you need to keep.

### Who uses it

- **Social media managers and agencies**: benchmark competitors' Pages (what they post, how often, which posts get
  reactions, comments and shares) without logging in.
- **Brand and media monitoring**: follow the Pages of brands, newsrooms, public bodies or sports clubs and keep their
  posts in a sheet or a database, on a schedule.
- **Researchers and analysts**: collect the public posts of a list of Pages with dates and engagement for a study.

### Examples

Prefill (the canary run):

```json
{"pageUrls":["https://www.facebook.com/NASA"],"maxPostsPerPage":20}
```

Several Pages, the last month only:

```json
{"pageUrls":["https://www.facebook.com/natgeo","humansofnewyork","@NASA"],"maxPostsPerPage":100,"onlyPostsNewerThan":"30 days"}
```

Since a given date:

```json
{"pageUrls":["https://www.facebook.com/profile.php?id=100044561550831"],"onlyPostsNewerThan":"2026-10-01"}
```

Accepted: Page links in any form (www, m., web., with /posts or other sub-paths), handles (`NASA`, `@NASA`), numeric
ids and `profile.php?id=` links. Groups, events and personal profiles are skipped and named in the status.

### Results, zeros and errors

- Each Page is read newest post first and stops at "Max posts per Page" or at the first post older than "Only posts
  newer than": older posts are never fetched or billed.
- Speed: about 1 to 2 posts per second per Page (Facebook hands signed-out visitors 3 posts at a time). A run that
  reaches its timeout stops cleanly and the status says how far each Page got; raise the run timeout for big jobs.
- A link that is a personal profile or leads to no Page is reported as such and costs nothing.
- A Page Facebook refused to show, or the run clock stopped, is named in the status and is never reported as "no
  posts". The run status lists every Page with its post count and why its reading ended.
- Invalid input ends the run right away with an "Input error: ..." message and only the $0.001 start charge.

### Pricing

- $0.001 per run (start).
- $2 per 1,000 posts on Free, with lower prices on higher Apify plans ($1.40 per 1,000 on Gold). Platform usage is included.

Set a maximum charge per run in Apify if you want a hard ceiling; the actor stops at it and says so in the status.

### FAQ

**Do I need a Facebook account or cookies?** No. The actor reads what Facebook shows a signed-out visitor.

**Does it get comments?** It gets the comment count of every post, not the comments themselves (they are other people's
words and names).

**Can it read groups or personal profiles?** No. Public Pages only.

**Why is a date rounded?** It is not: `createdAt` is the time Facebook gives for the post, in UTC.

### Data use

The actor reads public Facebook Pages as a signed-out visitor sees them. Rows hold Page content and engagement counts;
no comment text and no commenter names. You are responsible for using the data in line with Facebook's terms and the
data-protection law that applies to you.

# Changelog

This Actor's version history is a separate document: https://apify.com/tagadanar/facebook-page-posts-scraper/changelog.md

# Actor input Schema

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

Public Facebook Pages to read, one per line: a link like https://www.facebook.com/NASA, a handle like NASA or @NASA, a numeric Page id, or a profile.php?id= link. Up to 100 Pages per run. Business, brand, organisation and public-figure Pages only: groups and personal profiles are skipped.

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

Newest posts first; the run stops reading a Page at this number. You pay only for the posts delivered. Default 20, max 2,000.

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

Optional. A date (2026-01-31) or a period back from now (7 days, 2 weeks, 3 months, 1 year). Reading a Page stops at its first older post, so older posts are never fetched or billed. A date alone means midnight UTC.

## Actor input object example

```json
{
  "pageUrls": [
    "https://www.facebook.com/NASA"
  ],
  "maxPostsPerPage": 20
}
```

# Actor output Schema

## `dataset` (type: `string`):

No description

# 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"
    ],
    "maxPostsPerPage": 20
};

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

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

```

## MCP server setup

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