Facebook Posts Search Scraper With AI Enrichment
Pricing
from $3.99 / 1,000 results
Facebook Posts Search Scraper With AI Enrichment
๐ Facebook Posts Search Scraper finds and extracts public Facebook posts by keyword or hashtag โ capturing text, links, reactions, comments, timestamps & authors. ๐ Export to CSV/JSON for social listening, competitor analysis, content research & trend tracking. ๐
Pricing
from $3.99 / 1,000 results
Rating
0.0
(0)
Developer
Scrapio
Maintained by CommunityActor stats
0
Bookmarked
25
Total users
9
Monthly active users
a day ago
Last modified
Categories
Share
Facebook Posts Search Scraper Plus
Scrape public Facebook posts by keyword, hashtag, or direct URL. This Facebook posts scraper / Facebook data extractor collects post text, engagement metrics (likes/reactions, comments, shares), a per-type reaction breakdown (like/love/haha/wow/care/sad/angry), author and page details, media (images, video HD/SD, link previews), and a pack of derived analytics fields โ all from public content, no login required.
Keywords: facebook scraper, facebook posts scraper, facebook search scraper, social media scraper, facebook data extraction, facebook engagement metrics, facebook reactions breakdown, facebook hashtag scraper, social listening, competitor analysis, market research, content discovery.
How it works
Two-stage HTML pipeline (not the private Facebook GraphQL API):
- Discovery โ Google
site:facebook.comsearch (via the ApifyGOOGLE_SERPproxy) turns each keyword/hashtag into public Facebook URLs. You can also pass Facebook URLs directly withstartUrls. - Extraction โ each public Facebook page is fetched logged-out and the embedded relay JSON is parsed for post fields.
Coverage of some fields (reaction breakdown, full media, precise dates) depends on what the logged-out HTML exposes for a given post, so those are emitted when present and left null otherwise โ never faked.
Input
| Field | Type | Description |
|---|---|---|
searchQueries | array | Keywords to search (each is a separate search). |
startUrls | array | Direct Facebook URLs: post/video/reel/photo (one post each), page/profile (expanded to recent posts), or search URLs (routed through keyword discovery). |
hashtags | array | Hashtags to search (leading # optional). |
maxPosts | integer | Max posts per query/URL. Range 1โ1000. Default 50. |
postTimeRange | string | Relative recency preset: 24h, 7d, 30d, 90d, or all time. |
keywords | array | Keep a post only if its text contains one of these. |
excludeKeywords | array | Drop a post if its text contains one of these. |
minLikes / minComments / minShares | integer | Minimum engagement thresholds. |
startDate / endDate | string | Absolute (YYYY-MM-DD) or relative (7 days) date window. |
aiEnhancement | boolean | Add AI sentiment/emotion/topics/language/spam (needs an API key). |
aiModel | string | LLM model; provider auto-detected from the name. |
aiApiKey | string (secret) | Key for the chosen provider (or use the provider env var). |
proxyConfiguration | object | Proxy for Facebook page fetches. |
Example input:
{"searchQueries": ["football"],"startUrls": ["https://www.facebook.com/NASA/"],"hashtags": ["worldcup"],"maxPosts": 50,"minLikes": 10,"startDate": "30 days","proxyConfiguration": { "useApifyProxy": true }}
Output
Each post row includes:
- Identity / kind โ
resultKind(post/video/reel/photo/page-root),postType,searchQuery,rankInResultSet - Page & author โ
pageName,pageId,facebookId,facebookUrl, and anauthorobject (id,name,profileUrl,pic) - Post IDs & links โ
postId,postFacebookId,url,topLevelUrl,link - Dates โ
time,timestamp(unix),scrapedAt(ISO) - Engagement โ
likes(total reactions),comments,shares,engagementTotal,engagementVelocity, and areactionsobject + flattenedreactionLike/Love/Haha/Wow/Care/Sad/Angry, plusviewsCountfor video - Content & media โ
text,thumb,images[],videoHdUrl,videoSdUrl,videoDurationSeconds,linkPreview(url,domain,title) - Derived โ
hashtags[],mentions[],externalLinkDomain,textLength,wordCount - AI (when enabled) โ
sentiment,emotion,language,topics[],spamScore
Unknown engagement values are null (never a faked 0).
Pricing
Pay per event: one row_result charge per post saved.
How to use
- Open Apify Console โ Actors โ this actor.
- Enter keywords, hashtags, or start URLs and any filters.
- Run, then view results in the Output tab (export JSON/CSV/Excel).
Cautions
- Data is from public sources only.
- You are responsible for legal compliance (privacy, ToS, applicable laws).
