Search Posts API
Last updated
Was this helpful?
Last updated
Was this helpful?
The Search Posts API allows you to search and sort relevant posts created in Social Plus. This API returns a sorted list of post objects that contain the relevant content.
Example Curl
Query Params Details
targetType can be the following values:
community: Search posts in all communities specified in targetIds
.
user: Search all posts on the user feed specified in targetIds
.
targetIds
limited to 100 Ids per search.
filter can be the following values:
all: Search posts in all public communities
member: Search posts in all communities that the user has joined
notMember: Search posts in all public communities that the user has not joined
Limitations
Currently, searching within a post’s metadata is not supported.
Posts created on a user feed within a network that has privacy enabled are not yet searchable.
Search posts by query as indicated in the request parameters.
A list of posts matching the query.