Facebook Posts Search Scraper With AI Enrichment avatar

Facebook Posts Search Scraper With AI Enrichment

Pricing

from $3.99 / 1,000 results

Go to Apify Store
Facebook Posts Search Scraper With AI Enrichment

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

Scrapio

Maintained by Community

Actor stats

0

Bookmarked

25

Total users

9

Monthly active users

a day ago

Last modified

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):

  1. Discovery โ€” Google site:facebook.com search (via the Apify GOOGLE_SERP proxy) turns each keyword/hashtag into public Facebook URLs. You can also pass Facebook URLs directly with startUrls.
  2. 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

FieldTypeDescription
searchQueriesarrayKeywords to search (each is a separate search).
startUrlsarrayDirect Facebook URLs: post/video/reel/photo (one post each), page/profile (expanded to recent posts), or search URLs (routed through keyword discovery).
hashtagsarrayHashtags to search (leading # optional).
maxPostsintegerMax posts per query/URL. Range 1โ€“1000. Default 50.
postTimeRangestringRelative recency preset: 24h, 7d, 30d, 90d, or all time.
keywordsarrayKeep a post only if its text contains one of these.
excludeKeywordsarrayDrop a post if its text contains one of these.
minLikes / minComments / minSharesintegerMinimum engagement thresholds.
startDate / endDatestringAbsolute (YYYY-MM-DD) or relative (7 days) date window.
aiEnhancementbooleanAdd AI sentiment/emotion/topics/language/spam (needs an API key).
aiModelstringLLM model; provider auto-detected from the name.
aiApiKeystring (secret)Key for the chosen provider (or use the provider env var).
proxyConfigurationobjectProxy 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 an author object (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 a reactions object + flattened reactionLike/Love/Haha/Wow/Care/Sad/Angry, plus viewsCount for 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

  1. Open Apify Console โ†’ Actors โ†’ this actor.
  2. Enter keywords, hashtags, or start URLs and any filters.
  3. 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).