← API Store
SocialFacebook
Search Facebook posts
GET /facebook/v1/search/postsEvery response includes credits_used: the credits this call cost.
Public posts matching a keyword, with text, author, date, reaction/comment/share counts, photos and videos. recent=true returns the most recent posts; start_date / end_date (YYYY, YYYY-MM or YYYY-MM-DD) limit the posting date. Pass next_cursor back as cursor; null on the last page.
Each call costs 1 credits; failed calls are free. Run it in the console playground to see a live result.
Parameters
| Name | Type | Description |
|---|---|---|
qrequired | string | Search text. Example: artemis |
recent | boolean | Most recent posts first. |
start_date | string | Posted on or after (YYYY, YYYY-MM or YYYY-MM-DD). |
end_date | string | Posted on or before (YYYY, YYYY-MM or YYYY-MM-DD). |
cursor | string | Value of `next_cursor` from the previous page. |
Every endpoint also takes: raw、fields、fresh、output、records
No sample yet
This endpoint has no published sample. Use “Test this endpoint” to run it in the console playground.