Search Public Facebook Posts

View all Facebook Public Data API endpoints →

Supply query to search public posts; cursor, location_uid, recent_posts, start_date and end_date are documented optional inputs. The sampled NASA search returned results and a cursor, with post_id, url, message, numeric timestamp, author identity, comments_count, reactions_count, reshare_count, reaction breakdowns and nullable image or video references. Results included an official NASA post and related reporting, so relevance is not an exact-author filter. Only the query-only request was exercised; date formats, location filtering, recent_posts and continuation behavior still need validation. Search results are observations, not an exhaustive count of mentions or historical coverage.

API Features

Topic-level post sampling The observed NASA query returned both organization posts and related news content.
Author-aware search records Returned author objects include IDs and names so analysts can separate sources.
Search engagement observations The sample includes comment, reaction and reshare counts alongside each post.
Optional-filter validation boundary Date, location and recency inputs are documented but were not tested by the query-only sample.

Live API Demo

GET /api/project/facebook-scraper/search-post

Request cost is temporarily unavailable. No price is assumed.

View pricing

API Response (JSON)

{}
curl -X GET 'https://api.opendata-api.com/api/project/facebook-scraper/search-post?key=<API_KEY>&query=NASA'
📢
Need Help?
If you encounter API issues or need other API requirements, please contact us.
Contact Us

Use Cases

Frequently asked questions

Do all keyword results come from the same official Page?

No. The NASA sample included both official posts and related reporting. Check author identity before classifying results.

Can I search posts within a date range?

start_date and end_date are available as parameters, but their accepted formats and effects have not been validated. Test on a small scope first.

Can the result count represent all mentions of a brand?

No. Search is an observation of currently visible content, not an exhaustive mention index or complete history.

Related operations

Guides

View Subscription Plans →