Skip to content
//Facebook Search Scraper example\\

Recent posts about coffee, 10 posts

Search the newest public Facebook posts for a keyword.

Updated October 21, 2026

Input

The input this example runs Facebook Search Scraper with. “Try this input” opens it in the console, where you can run it as-is or change any field first.

Search queryquery
coffee
Search typesearch_type
Posts
Maximum resultsmax_posts
10
Recent postsrecent_posts
Yes
.json
{
  "query": "coffee",
  "search_type": "posts",
  "max_posts": 10,
  "recent_posts": true
}

The internet is full of data.
Start owning yours.

Scrape.ly gives you the infrastructure, the tooling, and the team to extract, process, and operationalize web data at any scale. Setup takes minutes. The advantage lasts forever.

No credit card. No setup calls.