Performs a search on a user's or group's wall posts.

This method requires an access token, but no permissions.

Available since API version 1.1.

Parameters

q
string

The search query.

offset
integer (non-negative)

Offset into the list of search results for pagination.

count
integer (1..100)

How many results to return.

By default 20.

owner_id
integer

The ID of the user or the group whose wall posts need to be searched. For groups, pass -group_id.

include_comments
boolean

Whether to also search among comments.

By default false.

owner_only
boolean

For user walls, whether to ignore other users" posts.

By default false.

Result

A paginated list of wall posts. If extended is set to true, the list object will have extra fields, profiles and groups, with arrays of user and group objects respectively.

Errors

Global errors may occur when calling this method.