Skip to content
//Facebook Search Scraper example\\

Coffee posts in a date range, 10 posts

Posts about a keyword published between two dates.

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
No
Date fromstart_date
2025-01-01
Date toend_date
2026-06-30
.json
{
  "query": "coffee",
  "search_type": "posts",
  "max_posts": 10,
  "start_date": "2025-01-01",
  "end_date": "2026-06-30",
  "recent_posts": false
}

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.