search_facebook_posts
Search Facebook posts by keyword across all of Facebook. Optionally scope results to a place with location_id (resolve one via the search_facebook_locations tool).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | Number of pages to fetch (1-10, default 1). Billed per page. | |
| query | Yes | Search keyword (max 500 characters) | |
| sort_by | No | Sort order: most_recent or relevance (default: relevance) | relevance |
| end_date | No | Filter posts until this date | |
| start_date | No | Filter posts from this date | |
| location_id | No | Facebook location ID (from search_facebook_locations) to scope results to a place | |
| get_sentiment | No | Add AI sentiment analysis (Plutchik emotions, dominant_emotion, intensity, and positive/negative/neutral polarity) to each result. Adds a small per-page surcharge. |