Facebook Page Posts Scraper
Extract posts from public Facebook pages and profiles without logging in: text, publish time, reactions, comment and share counts, photos and videos, plus the page's followers, category and website on every post.
What it extracts
Every field below comes from the Actor’s published dataset schema.
| Field | Description | Type |
|---|---|---|
facebook_page_name | Page | text |
message | Post Message | text |
creation_time | Posted Date | date |
post_url | Post URL | link |
reactions | Reactions | object |
comments_count | Comments | number |
shares_count | Shares | number |
attachments | Attachments | array |
facebook_page_followers | Page Followers | number |
facebook_page_category | Page Category | text |
facebook_page_url | Page URL | link |
Input parameters
Generated from the Actor’s input schema — the same fields the Apify console shows.
| Parameter | Type | Required | Description |
|---|---|---|---|
startUrls | array | Required | Facebook pages or public profiles to scrape. Paste a page URL such as https://www.facebook.com/nike, a username such as nike, or a profile.php?id=… link. One entry per page, and as many pages as you like. |
maxItems | integer | Optional | Maximum number of posts to scrape from each page (start URL). |
untilDate | string | Optional | Stop scraping a page when its posts get older than this date (format: YYYY-MM-DD). Leave empty to scrape until maxItems is reached. |
proxyConfiguration | object | Optional | Proxy configuration. Defaults to Apify residential proxies, which Facebook requires for posts; datacenter IP addresses are refused. |
API access
Run this Actor from your own code over the Apify API.
{
"startUrls": [
"https://www.facebook.com/nike",
"humansofnewyork"
]
}curl -X POST \
"https://api.apify.com/v2/acts/logical_scrapers~facebook-page-posts-scraper/run-sync-get-dataset-items?token=YOUR_API_TOKEN" \
-H "Content-Type: application/json" \
-d '{"startUrls":["https://www.facebook.com/nike","humansofnewyork"]}'import { ApifyClient } from 'apify-client'
const client = new ApifyClient({ token: 'YOUR_API_TOKEN' })
const run = await client.actor('logical_scrapers~facebook-page-posts-scraper').call({
"startUrls": [
"https://www.facebook.com/nike",
"humansofnewyork"
]
})
const { items } = await client.dataset(run.defaultDatasetId).listItems()
console.log(items)from apify_client import ApifyClient
client = ApifyClient("YOUR_API_TOKEN")
run = client.actor("logical_scrapers~facebook-page-posts-scraper").call(run_input={
"startUrls": [
"https://www.facebook.com/nike",
"humansofnewyork",
],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)Runs are executed on Apify. Create an API token in your Apify account, then call the Actor over REST or with the official client for your language. The same input object works in the Apify console, so you can test interactively before automating.
Pricing
Data not currently verified. This Actor's pricing model is not declared in our source repository.
Current rates are published on the Apify listing and can change, so they are not duplicated here. See pricing on Apify
Reliability
Measured across all public Goldmine Actors on Apify, 2026-08-24. This is an account-level figure, not a per-Actor benchmark — per-Actor speed and completeness benchmarks are not yet published. Source.