# Facebook Posts Scraper Lowcost (1$/1K 🤑) (`sones/facebook-posts-scraper-lowcost`) Actor

Scrape posts from public Facebook Pages and profiles: text, date, reactions, comments and shares counts, photos, videos and links. No login needed. $1 per 1,000 posts.

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

## Pricing

from $1.00 / 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.

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 Lowcost

**Facebook Posts Scraper** gets the posts of public Facebook Pages and profiles for **$1 per 1,000 posts**. Give it Page URLs or names, and it returns each post's text, date, reactions, comments and shares counts, photos, videos and links. You don't need a Facebook account, and nothing is scraped from behind a login.

### What you get

One row per post, newest first, ready to export as JSON, CSV or Excel:

- The post's id, URL, date and text.
- The total of reactions (`likes`), and each kind: like, love, care, haha, wow, sad and angry.
- The number of comments and shares.
- Every photo and video, an album's one by one: image URL, size, Facebook's description of the photo, and a video's HD and SD file URLs and duration.
- The web page the post links to, with its title and preview image.
- The post it shares, if it shares one: its text, URL and author.
- The Page's id, name and URL, the author, the entry you typed and when the post was scraped.

The field names are those of the best-known Facebook posts scraper (`postId`, `url`, `time`, `text`, `likes`, `comments`, `shares`, `reactionLikeCount`…), so an integration built on it reads these rows too.

### Use cases

- **Social media monitoring**: collect every new post of the Pages you follow, on a schedule.
- **Competitor analysis**: compare what brands post and how much engagement each post gets.
- **Marketing reports**: export a month of a Page's posts with their reactions, comments and shares to Excel.
- **News and research**: archive publishers' posts with the articles they link to.
- **AI and data pipelines**: feed post texts and media to your own models through the Apify API.

### Output fields

| Field                                      | Description                                                                                     |
| ------------------------------------------ | ----------------------------------------------------------------------------------------------- |
| `postId`, `url`                            | The post's id and address.                                                                      |
| `time`, `timestamp`                        | When it was published: ISO date (UTC) and Unix seconds.                                         |
| `text`                                     | The post's text.                                                                                |
| `likes`                                    | All reactions, as Facebook counts them.                                                         |
| `reactionLikeCount` … `reactionAngryCount` | Each kind of reaction: like, love, care, haha, wow, sad, angry.                                 |
| `comments`, `shares`                       | Comment and share counts.                                                                       |
| `isVideo`, `media`                         | Whether it has a video, and each photo and video with its URLs, size, description and duration. |
| `link`                                     | The outside page it links to: URL, title, preview image.                                        |
| `sharedPost`                               | The post it shares: text, URL, author.                                                          |
| `pageId`, `pageName`, `pageUrl`            | The Page.                                                                                       |
| `authorName`, `authorUrl`                  | Who posted it.                                                                                  |
| `facebookUrl`, `inputUrl`, `scrapedAt`     | The Page as scraped, your entry, and when.                                                      |

### How the price compares

Apify's own Facebook Posts Scraper costs $5 per 1,000 posts. This Actor costs $1 per 1,000 posts, plus $0.005 per run. It reads each Page as a logged-out visitor does: one request for the Page, then one request for every 3 posts.

You pay only for the posts you get. A Page that does not exist costs nothing, and posts outside your dates are never charged.

### How to use it

1. Open the Actor's **Input** tab.
2. Add your Pages, one per line: `https://www.facebook.com/NASA`, `facebook.com/profile.php?id=100064487329582`, or just `NASA`. A link to one of a Page's posts or tabs scrapes that Page.
3. Set **Posts per Page**, and the dates if you only want recent or older posts.
4. Click **Start**, then open the **Output** tab and export the posts.

Repeated Pages are scraped once. Groups, events, single posts and anything that is not a Page or profile are skipped and counted in the run log.

### Input

```json
{
    "startUrls": [
        { "url": "https://www.facebook.com/NASA" },
        { "url": "https://www.facebook.com/natgeo" }
    ],
    "resultsLimit": 20,
    "onlyPostsNewerThan": "30 days"
}
```

| Field                | Type    | Description                                                                                                                      |
| -------------------- | ------- | -------------------------------------------------------------------------------------------------------------------------------- |
| `startUrls`          | array   | Required. Page or profile URLs, names or numeric ids, as `{ "url": … }` objects or plain text.                                   |
| `resultsLimit`       | integer | Optional, 20 by default. The most posts to get from each Page, newest first.                                                     |
| `onlyPostsNewerThan` | string  | Optional. Only posts published on or after this date: `2026-01-01`, a time before the run such as `7 days`, or a Unix timestamp. |
| `onlyPostsOlderThan` | string  | Optional. Only posts published before this date, in the same formats.                                                            |
| `proxy`              | object  | Optional. Leave on automatic, or enter your own proxies (see [Limits](#limits)).                                                 |

### Output

```json
{
    "postId": "1685704526258250",
    "url": "https://www.facebook.com/NASA/posts/pfbid0sWEQa1gX7qa3jNrUYfgVy3kYaimwKott95nY6NicQPwxPGz",
    "time": "2026-11-12T20:16:47.000Z",
    "timestamp": 1794514607,
    "text": "Tethys and Dione showed up for the group photo! …",
    "pageId": "100044561550831",
    "pageName": "NASA - National Aeronautics and Space Administration",
    "pageUrl": "https://www.facebook.com/NASA",
    "authorName": "NASA - National Aeronautics and Space Administration",
    "authorUrl": "https://www.facebook.com/NASA",
    "likes": 3961,
    "comments": 155,
    "shares": 380,
    "reactionLikeCount": 2866,
    "reactionLoveCount": 1000,
    "reactionCareCount": 30,
    "reactionHahaCount": 5,
    "reactionWowCount": 55,
    "reactionSadCount": 3,
    "reactionAngryCount": 2,
    "isVideo": false,
    "media": [
        {
            "type": "photo",
            "id": "1685704506258252",
            "url": "https://www.facebook.com/photo/?fbid=1685704506258252&set=a.416661013162614",
            "imageUrl": "https://scontent.xx.fbcdn.net/v/t39.99422-6/…",
            "width": 1837,
            "height": 1006,
            "altText": "Saturn and two of its moons…",
            "videoHdUrl": null,
            "videoSdUrl": null,
            "durationSeconds": null
        }
    ],
    "link": null,
    "sharedPost": null,
    "facebookUrl": "https://www.facebook.com/nasa",
    "inputUrl": "https://www.facebook.com/NASA",
    "scrapedAt": "2026-11-16T21:50:37.745Z"
}
```

A field Facebook does not show is `null`, never guessed. Facebook's photo and video URLs expire after a few days: download what you need soon after the run.

The run also saves a `RUN_SUMMARY` record in its key-value store: the outcome and the number of posts of every Page, including Pages that were not found.

### Pricing

| Event       | Price                                                     |
| ----------- | --------------------------------------------------------- |
| Actor start | $0.005 per run (one event per GB of memory, at least one) |
| Post        | $0.001 per post ($1 per 1,000)                            |

### Limits

- **Public Pages and profiles only.** The Actor sees what a logged-out visitor sees. Groups, private profiles and posts shown only to friends are out of reach, by design.
- **Speed.** Facebook serves 3 posts per request, so one Page gives about 1,000 posts in 20 minutes. Many Pages are scraped at once.
- **Country.** Some Pages show some posts only to people in some countries, and a run sees the posts of the countries its addresses are in. To see a Page as people in one country see it, enter your own proxies in that country in **Proxy configuration**.
- **Very old posts.** On a few Pages, Facebook itself gives up on stretches of a timeline from many years ago. The Actor keeps the posts Facebook sent and reports the Page as not fully scraped.
- **The pinned post** is left out, so the posts come strictly newest first.
- **Comments** are counted, not listed. Pass the posts' `url` to [Facebook Comments Scraper Lowcost](https://apify.com/sones/facebook-comments-scraper-lowcost) to get their text, at $0.30 per 1,000.

### FAQ

#### How many posts can I get from a Facebook Page?

As many as its public timeline shows. Facebook serves 3 posts per request, so a Page gives about 1,000 posts in 20 minutes; many Pages are scraped at once.

#### Can I scrape Facebook posts without logging in?

Yes: that is the only way this Actor works. It reads public Pages as a logged-out visitor, so it needs no account, cookies or token.

#### Can I get only recent posts?

Yes. Set **Only posts newer than** to `24 hours`, `7 days` or a date. Facebook applies the filter itself, so posts outside your dates are not fetched or charged.

#### Does it scrape Facebook groups or comments?

No. Groups need a login, which this Actor never uses. Comments are counted in each post (`comments`); [Facebook Comments Scraper Lowcost](https://apify.com/sones/facebook-comments-scraper-lowcost) gets their text from the posts' `url`.

#### Can I use it from my code, Make, Zapier or n8n?

Yes, like every Apify Actor: call it through the Apify API or client libraries, schedule it, and connect it with the Make, Zapier, n8n and webhook integrations.

#### Why is a post missing?

Some Pages show some posts only to people in some countries, and the pinned post is left out. Posts shown only to friends or to members are never public.

### Is it legal?

The Actor reads only public data that Facebook shows to anyone without logging in, and it collects no email addresses or phone numbers. Courts have held that scraping public data while logged out does not breach Meta's terms (*Meta v. Bright Data*, 2024). You are responsible for how you use the data: personal data falls under laws such as the GDPR.

### Other Actors by this developer

- [Facebook Pages Scraper Lowcost](https://apify.com/sones/facebook-pages-scraper-lowcost): Pages' details, rating and business contacts, $3 per 1,000 Pages.
- [Facebook Comments Scraper Lowcost](https://apify.com/sones/facebook-comments-scraper-lowcost): the comments of public posts, $0.30 per 1,000 comments.
- [Facebook Reels Scraper Lowcost](https://apify.com/sones/facebook-reels-scraper-lowcost): Pages' reels and videos with their views, $0.50 per 1,000 videos.
- [Facebook Reviews Scraper Lowcost](https://apify.com/sones/facebook-reviews-scraper-lowcost): Pages' reviews and recommendations, $0.50 per 1,000 reviews.
- [Facebook Marketplace Scraper Lowcost](https://apify.com/sones/facebook-marketplace-scraper-lowcost): Marketplace listings by search and city, $0.30 per 1,000 listings.
- [Facebook Ad Library Scraper Lowcost](https://apify.com/sones/facebook-ads-library-scraper-lowcost): the ads of any Ad Library search, $0.30 per 1,000 ads.
- [Instagram Profile Scraper Lowcost](https://apify.com/sones/instagram-user-scraper-lowcost): public Instagram profile details.

# Changelog

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

# Actor input Schema

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

Public Facebook Pages or profiles, one per line: a URL such as https://www.facebook.com/NASA, facebook.com/profile.php?id=…, or just the Page's name (NASA). A link to one of a Page's posts or tabs scrapes that Page. Groups, events and single posts are skipped.

## `resultsLimit` (type: `integer`):

The most posts to get from each Page, newest first. Facebook serves 3 posts per request, so large numbers take a while: about 1,000 posts in 20 minutes per Page, with many Pages scraped at once.

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

Only posts published on or after this date: a date such as 2026-01-01, a time before the run starts such as 7 days or 24 hours, or a Unix timestamp. Leave empty for no limit.

## `onlyPostsOlderThan` (type: `string`):

Only posts published before this date, in the same formats. Leave empty for no limit.

## `proxy` (type: `object`):

Leave on automatic. Facebook shows some Pages' posts only to people in some countries: to see a Page as people in one country see it, choose 'Own proxies' and enter proxies in that country.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.facebook.com/NASA"
    },
    {
      "url": "https://www.facebook.com/profile.php?id=100064487329582"
    }
  ],
  "resultsLimit": 3,
  "onlyPostsNewerThan": "7 days",
  "onlyPostsOlderThan": "2026-01-01",
  "proxy": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

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

No description

## `runSummary` (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 = {
    "startUrls": [
        {
            "url": "https://www.facebook.com/NASA"
        },
        {
            "url": "https://www.facebook.com/natgeo"
        }
    ],
    "resultsLimit": 3,
    "proxy": {
        "useApifyProxy": true
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("sones/facebook-posts-scraper-lowcost").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" },
        { "url": "https://www.facebook.com/natgeo" },
    ],
    "resultsLimit": 3,
    "proxy": { "useApifyProxy": True },
}

# Run the Actor and wait for it to finish
run = client.actor("sones/facebook-posts-scraper-lowcost").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"
    },
    {
      "url": "https://www.facebook.com/natgeo"
    }
  ],
  "resultsLimit": 3,
  "proxy": {
    "useApifyProxy": true
  }
}' |
apify call sones/facebook-posts-scraper-lowcost --silent --output-dataset

```

## MCP server setup

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

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/rxmV88DPXnhuNFKII/builds/fGasiexWepVh5mz5V/openapi.json
