Perform Posts Search

Returns the posts matching the given keywords and filters that the account owner can see. Send the same body with cursor to get the next pages.
LIMITATIONS: Available on Facebook. On Facebook, the page size is set by Facebook whatever the limit (usually 10 to 20 results), a list filter takes one ID, and an ID Facebook does not know is ignored. start_date and end_date are days of the account's time zone, from 2004 on. posted_by takes one option at a time (me, my_groups_and_pages, public, or one ID in member, company or group), and seen only true. LinkedIn post searches have their own route (/linkedin/search/posts).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
^acc_(.*)$

ID of the Account (acc_xxx) to call the method on behalf of.

Query Params
string

A cursor used for pagination. Use next_cursor given by the previous page of the list.

integer
≥ 1
Defaults to 20

The limit of items to be returned. The maximum allowed value depends on the provider. This is a ceiling, not a guarantee: some providers can return fewer items than requested for a given page.

Body Params

The criteria of the search.

The criteria of the search.

string
required
length ≥ 1
\S

The keywords to search posts for.

string
enum
Defaults to most_relevant

The order of the posts.

  • most_relevant the most relevant first.
  • most_recent the most recent first.
Allowed:
boolean

Only return the posts the account owner has already seen.

date

Only return the posts published on or after this day. Must use a supported date format. See supported date formats.

date

Only return the posts published on or before this day. Must use a supported date format. See supported date formats.

posted_by
object

Only return the posts of these authors, if supported by the provider.

location
array of strings, unique
length ≥ 1

Only return the posts tagged in one of these cities. Use the IDs of location search parameters.

location
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json