Facebook Posts Search Scraper avatar

Facebook Posts Search Scraper

Pricing

from $3.99 / 1,000 results

Go to Apify Store
Facebook Posts Search Scraper

Facebook Posts Search Scraper

Facebook Posts Search Scraper extracts public Facebook posts from search results by keyword. Collect post text, author details, engagement metrics, post URLs, timestamps, media, and more. Ideal for social media monitoring, brand tracking, market research, and trend analysis.

Pricing

from $3.99 / 1,000 results

Rating

0.0

(0)

Developer

ScrapeFlow

ScrapeFlow

Maintained by Community

Actor stats

0

Bookmarked

22

Total users

9

Monthly active users

8 days ago

Last modified

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

FieldTypeDescription
startUrlsarrayFacebook search URLs (e.g. https://www.facebook.com/search/top/?q=football)
searchQueriesarraySearch keywords (used if startUrls is empty)
maxPostsintegerMax posts per query (1–500, default: 50)
postTimeRangestringFilter: 24h, 7d, 30d, 90d
proxyConfigurationobjectProxy settings (default: no proxy)

Example input:

{
"searchQueries": ["football", "cricket"],
"maxPosts": 50,
"postTimeRange": "",
"proxyConfiguration": { "useApifyProxy": false }
}

Output

Each post includes:

  • facebookUrl, pageId, pageName – Page info
  • postId, url, topLevelUrl – Post identifiers
  • time, timestamp – Post date
  • likes, comments, shares – Engagement
  • text, link, thumb – Content
  • searchQuery – Query that matched

How to Use

  1. Open Apify ConsoleActors
  2. Select facebook-posts-search-scraper
  3. Set inputs (queries, max posts, proxy)
  4. Run the actor
  5. View results in the OUTPUT tab
  6. 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.)