Facebook Search Scraper
Pricing
from $5.00 / 1,000 results
Facebook Search Scraper
Facebook Search Scraper finds relevant locations, posts, people, and pages from Facebook and exports structured results to your Apify dataset. Ideal for market research, lead generation, and social listening. Supports cursor-based pagination and date filters for posts.
Pricing
from $5.00 / 1,000 results
Rating
0.0
(0)
Developer

Sachin Kumar Yadav
Actor stats
0
Bookmarked
18
Total users
12
Monthly active users
2 days ago
Last modified
Categories
Share
Facebook Search Scraper ππ
Discover Facebook search results fast and reliably. This Apify Actor finds relevant content across locations, posts, people, and pages, and exports clean, structured data to your Apify dataset for analysis and automation.
Use it for market research, lead gen, social listening, content discovery, or to fuel your analytics workflows.
β¨ Key Features
- Precise search across four types:
locations,posts,people,pages. - Single page per run for predictable pagination. Provide
endCursorto fetch the next page. - Built-in pacing, stability, and resilient key rotation for reliable production runs.
- Clean JSON output with timestamps and optional pagination info.
π Quick Start
- Open the Actor on Apify and click Run.
- Choose your
searchTypeand enter aquery. - Optionally set
locationUid,startDate,endDate,recentPosts, andendCursor. - Start the run and download results from the Dataset as JSON/CSV/Excel.
π§° Input Parameters
| Field | Type | Required | Description |
|---|---|---|---|
searchType | string | Yes | One of locations, posts, people, pages. |
query | string | Yes | Your search text. For locations, enter a place; for others, keywords. |
locationUid | string | No | Scope your search to a location UID (get it from a locations search). |
startDate | string (YYYY-MM-DD) | No | Only for posts: inclusive start date. |
endDate | string (YYYY-MM-DD) | No | Only for posts: inclusive end date. |
recentPosts | boolean | No | Only for posts: if true, fetches recent posts. |
endCursor | string | No | Use the page_info.cursor from a previous run to fetch the next page. |
Example: Posts
{"searchType": "posts","query": "funny video","locationUid": "112623132083029","startDate": "2024-01-01","endDate": "2024-12-31","recentPosts": true}
Example: Locations (to get UIDs)
{ "searchType": "locations", "query": "funny video" }
π¦ Output Format
Each dataset item uses the following structure:
{"success": true,"search_type": "posts","query": "funny video","item": { /* result item */ },"page_info": { /* optional page info including cursor */ },"fetched_at": "2025-10-30T08:00:00.000Z"}
- On error, a record with
success: falseand anerrormessage is pushed. - If a next page is available, the run logs:
Next page cursor: β¦. Use that asendCursorin your next run.
π Pagination Strategy
- This actor intentionally returns a single page per run for consistent, controllable pagination.
- To get more results, run again with the
endCursorfrom your previous runβspage_info.cursor(or from the logs).
β Best Practices
- Start with
locationsto obtain alocationUid, then pass it toposts,people, orpagesfor scoped results. - Store your cursors to resume exactly where you left off.
- Schedule runs on Apify to accumulate data over time.
β FAQ
-
Q: How do I get the next page?
- A: Copy the
page_info.cursorfrom the dataset or logs and pass it asendCursorin the next run.
- A: Copy the
-
Q: Why are there only a few results per page?
- A: Facebook search returns limited results per response. Use the
endCursorto iterate pages.
- A: Facebook search returns limited results per response. Use the
-
Q: Can I filter posts by date?
- A: Yes, provide
startDateand/orendDateinYYYY-MM-DDformat forposts.
- A: Yes, provide
-
Q: What formats can I export to?
- A: From the Dataset tab, export JSON, CSV, Excel, or view via the API.
π Related Actor
- Facebook Page Video Downloader β https://apify.com/igview-owner/facebook-page-video-downloader
π Find me Better
Facebook search scraper, Facebook posts scraper, Facebook pages scraper, Facebook people search, Facebook locations search, social listening tool, market research data, lead generation scraper, Apify actor for Facebook search, dataset export JSON CSV Excel.
For issues or feature requests, please open a new issue or contact the actor author. π§βπ»