Pricing
from $4.99 / 1,000 results
Go to Apify Store
Facebook Posts Search Scraper
Find public Facebook posts from search results using keywords, hashtags, or topics. This Apify actor extracts post text, authors, timestamps, links, and engagement signals. Great for trend monitoring, audience research, brand tracking, and competitor analysis in structured data.
Pricing
from $4.99 / 1,000 results
Rating
0.0
(0)
Developer
Actor stats
0
Bookmarked
19
Total users
9
Monthly active users
3 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.)
