Facebook Posts Search Scraper
Pricing
$19.99/month + usage
Go to Apify Store
Facebook Posts Search Scraper
π Facebook Posts Search Scraper searches and extracts public Facebook posts by keyword, hashtag, or URLβcapturing text, author/page, timestamp, reactions, comments, shares, media & links. π Export CSV/JSON. Ideal for social listening, brand monitoring, trend & competitor analysis. π
Pricing
$19.99/month + usage
Rating
0.0
(0)
Developer
ScrapeBase
Maintained by Community
Actor stats
0
Bookmarked
3
Total users
1
Monthly active users
5 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.)