Facebook Posts Search Scraper
Pricing
$19.99/month + usage
Go to Apify Store
Facebook Posts Search Scraper
Pricing
$19.99/month + usage
Rating
0.0
(0)
Developer
ScrapeLabs
Maintained by Community
Actor stats
0
Bookmarked
2
Total users
1
Monthly active users
2 days ago
Last modified
Categories
Share
Scrape public Facebook posts by search query. Extracts post content, engagement metrics, and metadata.
Key Features
- Bulk search – Multiple queries or URLs in one run
- Proxy fallback – No proxy by default; auto-fallback to datacenter → residential on block
- Live saving – Results saved as they’re scraped
- Retry logic – 3 retries with exponential backoff
Input
| Field | Type | Description |
|---|---|---|
startUrls | array | Facebook search URLs (e.g. https://www.facebook.com/search/top/?q=football) |
searchQueries | array | Search keywords (used if startUrls is empty) |
maxPosts | integer | Max posts per query (1–500, default: 50) |
postTimeRange | string | Filter: 24h, 7d, 30d, 90d |
proxyConfiguration | object | Proxy settings (default: no proxy) |
Example input:
{"searchQueries": ["football", "cricket"],"maxPosts": 50,"postTimeRange": "","proxyConfiguration": { "useApifyProxy": false }}
Output
Each post includes:
facebookUrl,pageId,pageName– Page infopostId,url,topLevelUrl– Post identifierstime,timestamp– Post datelikes,comments,shares– Engagementtext,link,thumb– ContentsearchQuery– Query that matched
How to Use
- Open Apify Console → Actors
- Select facebook-posts-search-scraper
- Set inputs (queries, max posts, proxy)
- Run the actor
- View results in the OUTPUT tab
- Export as JSON or CSV
Proxy Behavior
- Default: No proxy
- On block: Datacenter proxy (SHADER)
- If still blocked: Residential proxy with 3 retries
- After fallback: Remaining requests use the new proxy
Cautions
- Data is from public sources only
- You are responsible for legal compliance (privacy, ToS, etc.)