Apify Facebook Search PPR
AI-generatedSummary
Scrape Facebook search results via Apify
Inputs
- query (required) — Facebook URL or search term
- search_type (required) — Type of results to fetch (pages, places, posts)
- max_posts (required) — Maximum number of posts to scrape
- recent_posts — Include recent posts
- location — Location filter (city and country)
- start_date — Start date for posting range
- end_date — End date for posting range
- authentication — Authentication method (API Key or OAuth2)
Output shape
an array of result objects
Results are returned as an array; empty if no matches; errors abort unless continueOnFail is enabled
Examples
Example 1: Basic page search
query: 'Mausritter', search_type: 'pages', max_posts: 10, authentication: 'apifyApi'
Example 2: Posts with date range
query: 'technology', search_type: 'posts', max_posts: 5, start_date: '2024-01-01', end_date: '2024-12-31', authentication: 'apifyOAuth2Api'
