Actions31
- Facebook Group Actions
- Facebook Marketplace Actions
- Facebook Media Actions
- Facebook Page Actions
- Facebook Post Actions
- Facebook Search Actions
- Meta Ads Library Actions
Facebook Search → Search Posts
AI-generatedSummary
Search for Facebook posts matching a keyword.
Inputs
- query (required) — Keyword to search for
- limit — Maximum number of results to return (default 50)
- additionalFields — Additional fields to include in the response (e.g., pagination cursor, time filters)
- requestOptions — HTTP request options such as batching, proxy, and timeout
- allowUnauthorizedCerts — Whether to ignore SSL certificate validation errors
- proxy — HTTP proxy URL to use for requests
- timeout — Request timeout in milliseconds (default 10000)
Output shape
a list of post objects
Paginated results; may include end_cursor, start_time, end_time, location_uid, recent_posts, etc.; optional fields can be requested via additionalFields.
Examples
Example 1: Search posts for keyword 'climate change' and limit to 10 results
{"query":"climate change","limit":10}
Example 2: Search posts with start and end time filters and additional fields
{"query":"technology","start_time":"2024-01-01","end_time":"2024-12-31","additionalFields":{"end_cursor":"","start_time":"2024-01-01"}}
Example 3: Use batching with 25 items per batch and a 500ms interval
{"query":"sports","requestOptions":{"batch":{"batchSize":25,"batchInterval":500}}}