Facebook Page Post Scraper
Pricing
from $0.01 / 1,000 results
Facebook Page Post Scraper
Powerful Facebook Page scraper that extracts posts, engagement metrics (likes, comments, shares), images, videos, and posting dates from any public Facebook Page. Perfect for competitive analysis, content research, and social media monitoring.
Pricing
from $0.01 / 1,000 results
Rating
0.0
(0)
Developer
The Howlers
Actor stats
2
Bookmarked
116
Total users
29
Monthly active users
4 days ago
Last modified
Categories
Share
Scrape posts from public Facebook Pages. Extract post content, images, videos, engagement metrics (likes, comments, shares), and posting dates. Perfect for competitive analysis and content research.
BYOK (Bring Your Own Key) -- you provide your own API credentials.
Before You Start
This actor requires your own API credentials to fetch real data.
Where to get your key: JSON array of cookies from Cookie-Editor browser extension. REQUIRED — Facebook gates Page feeds behind login. Install Cookie-Editor, log into Facebook, export cookies, paste here.
You can test with Demo Mode first (free, no key needed) to see the output format before committing.
Quick Start
Test with Demo Mode (free, no API key needed)
{"demoMode": true,"pageUrls": ["https://www.facebook.com/meta"],"webhookHeaders": {}}
Run with real data
{"demoMode": false,"pageUrls": ["https://www.facebook.com/meta"],"maxPostsPerPage": 25,"includeComments": false,"maxCommentsPerPost": 10,"contentType": "all","sessionCookies": "YOUR_API_KEY_HERE","webhookPlatform": "custom","webhookHeaders": {},"proxyConfiguration": {"useApifyProxy": true,"apifyProxyGroups": ["RESIDENTIAL"]},"cookieKvStoreName": "cookie-sessions"}
Input Parameters
| Parameter | Type | Default | Required | Description |
|---|---|---|---|---|
pageUrls | array | - | No | List of Facebook Page URLs to scrape (e.g., https://www.facebook.com/meta) |
pageUsernames | array | - | No | List of Facebook Page usernames/handles (e.g., 'meta', 'nike') |
maxPostsPerPage | integer | 25 | No | Maximum number of posts to scrape per page |
includeComments | boolean | false | No | Scrape top comments for each post |
maxCommentsPerPost | integer | 10 | No | Maximum comments to scrape per post (if comments enabled) |
dateFrom | string | - | No | Only scrape posts from this date onwards (YYYY-MM-DD) |
dateTo | string | - | No | Only scrape posts up to this date (YYYY-MM-DD) |
contentType | string | "all" | No | Filter posts by content type |
sessionCookies | string | - | Yes* | JSON array of cookies from Cookie-Editor browser extension. REQUIRED — Facebook gates Page feeds behind login. Install Cookie-Editor, log into Facebook, export cookies, paste here. |
webhookUrl | string | - | No | URL to POST results (Zapier, Make, n8n, or custom endpoint) |
webhookPlatform | string | "custom" | No | Target platform for webhook payload formatting |
webhookHeaders | object | - | No | Custom HTTP headers to send with webhook (JSON object) |
proxyConfiguration | object | {"useApifyProxy":true,"apifyProxyGroups":["RESIDENTIAL"]} | No | Proxy settings for scraping |
demoMode | boolean | true | No | Return sample data without actual scraping (for testing) |
cookieStorageKey | string | - | No | Key in the KV store to load cookies from (created by Cookie Manager actor). If provided and no manual sessionCookies are set, cookies will be loaded automatically from the KV store. |
cookieKvStoreName | string | "cookie-sessions" | No | Name of the Apify Key-Value store holding cookie sessions. Default: 'cookie-sessions' |
*Required when Demo Mode is off.
Pricing
This actor uses pay-per-event billing:
| Event | Description | Price |
|---|---|---|
| Post Scraped | Each Facebook Page post scraped | $0.04 |
Demo mode is free -- no charges for sample data.
Troubleshooting
"API key is required"
You have Demo Mode turned off but didn't provide an API key. Either:
- Turn Demo Mode on to test with sample data
- Add your API key in the input
"API error 403" or "Unauthorized"
Your API key is invalid, expired, or doesn't have access to this specific API endpoint. Double-check your key and account permissions.
"API error 429" or "Rate limit"
Too many requests. Wait a minute and try again, or reduce the number of items per run.
No results or empty dataset
Check the run log for error messages. Common causes:
- Invalid input format (check the examples above)
- API key without proper permissions
- The target data doesn't exist or is too small to track
How do I test without an API key?
Enable Demo Mode in the input. This returns realistic sample data so you can verify the output format works for your workflow.
Built by John Rippy | Actor Arsenal