Facebook Posts Search Scraper avatar

Facebook Posts Search Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Facebook Posts Search Scraper

Facebook Posts Search Scraper

Pricing

$19.99/month + usage

Rating

0.0

(0)

Developer

ScrapeBase

ScrapeBase

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 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.)