# Facebook Pages Scraper: Page Details and Posts, No Login (`locaihost/facebook-pages`) Actor

Scrape public Facebook Pages: followers, category, intro, the Page's business email, phone, website and address, plus recent posts with reactions, comments, shares, photos and videos. Follower change since your last run. No login. $3 per 1,000 posts, $5 per 1,000 Pages.

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

## Pricing

from $2.75 / 1,000 pages

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 Pages Scraper: Page Details and Posts, No Login

Give it a list of public Facebook Pages. You get one row per Page with its follower count, category, intro, website, business email, phone and address, then the Page's latest posts with text, time, reactions split by type, comment and share counts, photos, videos and view counts. You don't need a Facebook account or cookies.

### What does it return?

Each Page gives you one **Page row** with:

- name, Page id, profile id, link and handle
- category and all categories
- followers, following, likes (when shown), "talking about this" and check-ins
- verified badge, intro text and the organisation Facebook confirms runs the Page
- websites, plus the Page's own published business email, phone and address
- links to the Page's other profiles (Instagram, YouTube and so on)
- rating and review count, price range and creation date, when the Page shows them
- profile picture and cover photo
- followers at the last run and the change since then

Then one **post row** per post, newest first:

- post id, link, text and hashtags
- time posted
- reactions in total and split into like, love, care, haha, wow, sad and angry
- number of comments and number of shares
- photos and videos with links, size and video length
- video plays for videos and reels
- the first outside link in the post, and the link to the post it shares, if any

A free **summary row** comes last: Pages read, posts per Page, the five posts with the most reactions, and the date range covered.

### How do I use it?

1. Paste Page links under **Facebook Pages**, one per line. Plain Page names like `NASA` work too.
2. Set how many posts you want per Page (10 by default).
3. Start the run. Rows appear in the dataset as each Page is read.

Example input:

```json
{
  "startUrls": [{ "url": "https://www.facebook.com/NASA" }, { "url": "https://www.facebook.com/cityofsydney" }],
  "maxPostsPerPage": 25,
  "onlyNew": true
}
```

### Which links work?

Page links in any of the usual forms: `facebook.com/PageName`, `m.facebook.com/PageName`, `facebook.com/profile.php?id=...`, `facebook.com/people/Page-Name/123...`, `facebook.com/p/Page-Name-123...` and links to a Page's About, Posts or Videos tab. A link to a single post or video on a Page reads that whole Page.

Personal profiles, groups, events and Marketplace are not supported. They get a free status row that says so, and nothing is charged for them.

### How many posts can I get per Page?

Up to 1,000 per Page. The first 25 posts arrive in one request. After that Facebook hands out older posts about three at a time, so large counts take longer: about 100 posts per Page per minute is a fair guide. A default run (one Page, 10 posts) usually finishes in under a minute.

If Facebook stops giving older posts before your number is reached, the run says so in its status message and you are only charged for what you got.

### Can I get only posts I have not seen yet?

Yes. Turn on **Only new posts**. The run remembers which posts it returned for the same list of Pages and leaves them out next time, so a daily schedule gives you just the new posts. The memory is kept in your own account and is separate for each list of Pages.

You can also set **Posts since** to a date like `2026-11-01` or a period like `7 days`. Paging stops once posts get older than that.

### Does it track follower growth?

Yes, always. Every Page row shows the followers at the last run that read the same Page and the change since then. The first run for a Page leaves those two fields empty.

### Does it collect comments or the people who reacted?

No. Comments come as a count only, and reactions as counts by type. The scraper never collects who commented or reacted, or what they wrote.

### Does it need my Facebook login or cookies?

No. It reads what Facebook shows any logged-out visitor on a public Page. You never enter an account, a password or cookies.

### What personal data does it collect?

Only what a public Page publishes about itself: its name, its own business email, phone, website and address, and its public posts. It does not collect personal profiles, private contact details of individuals, commenters or reactors. You are responsible for using the data lawfully where you are, including privacy rules such as the GDPR.

### How much does it cost?

You pay per row: $5 per 1,000 Page rows and $3 per 1,000 post rows ($3.75 / $2.25 on Scale, $2.75 / $1.65 on Business), plus $0.00005 when a run starts. Status rows (Pages that could not be read) and the summary row are free. Set a maximum charge for the run and it stops cleanly when that is reached.

On the free Apify plan each run returns up to 100 rows. Paid plans have no row limit.

### What happens when Facebook blocks a request?

Facebook sometimes answers a logged-out visitor with a login wall. The scraper then starts a fresh session and tries again, up to three times per Page. If a Page still will not load, you get a free status row for it, the other Pages carry on, and you can re-run just that Page later. A run with nothing returned is never charged.

### What do the status rows mean?

| status | meaning |
| --- | --- |
| `not-found` | The Page does not exist or is not public |
| `personal-profile` | A personal profile, which is not supported |
| `unsupported` | A group, event, Marketplace or other link that is not a Page |
| `blocked` | Facebook kept asking for a login for this Page; try it again later |
| `no-posts` | The Page loaded but shows no public posts |

### Can I use it from my own code or an agent?

Yes. Run it through the Apify API or any Apify client, or connect it as a tool through the Apify MCP server. The input is plain JSON and every row has a `type` field (`page`, `post`, `status` or `summary`), so you can filter rows easily. The dataset has a Posts view, a Pages view and a Summary view.

### Something is missing or broken. What should I do?

Open an issue on the Issues tab with the Page link and what you expected. Facebook changes its pages often; reports help get fixes out fast.

# Changelog

This Actor's version history is a separate document: https://apify.com/locaihost/facebook-pages/changelog.md

# Actor input Schema

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

Page links (facebook.com/NASA, profile.php?id=..., m.facebook.com links) or bare Page names. A link to one of a Page's posts, photos or its About tab reads that Page. Personal profiles, groups and Marketplace are not supported and come back as a free status row.

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

How many of each Page's newest posts to return. The first 25 come in one request; after that Facebook hands out about 3 posts per request, so large numbers take longer.

## `includePosts` (type: `boolean`):

Turn off to get only the Page rows (details and contact), which is faster and cheaper.

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

Remembers which posts this exact list of Pages returned in earlier runs and leaves them out, so a daily schedule only brings new posts. Page rows still come every run. Repeats are never charged.

## `postsSince` (type: `string`):

Leave out posts older than this. A date (2026-11-01) or a period such as "7 days", "2 weeks" or "3 months". Paging stops once the posts get older than this.

## `summaryRow` (type: `boolean`):

A free last row with the Pages read, posts per Page, the top posts by reactions, the date range and what was left out. Never charged.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/NASA"
    },
    {
      "url": "https://www.facebook.com/nike"
    }
  ],
  "maxPostsPerPage": 10,
  "includePosts": true,
  "onlyNew": false,
  "postsSince": "7 days",
  "summaryRow": true
}
```

# Actor output Schema

## `posts` (type: `string`):

Post rows

## `pages` (type: `string`):

Page rows with details and contact

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

The free summary row

# 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 = {
    "startUrls": [
        {
            "url": "https://www.facebook.com/NASA"
        }
    ]
};

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

# Run the Actor and wait for it to finish
run = client.actor("locaihost/facebook-pages").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 '{
  "startUrls": [
    {
      "url": "https://www.facebook.com/NASA"
    }
  ]
}' |
apify call locaihost/facebook-pages --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,locaihost/facebook-pages"
        }
    }
}
```

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/4AQZBVBeN0WSkMgSg/builds/V5hddLPgtGk1bJMlF/openapi.json
