wall.search
The translation was generated automatically and may contain mistakes
Allows you to search for records on the wall in accordance with the specified criteria.
Parameters
integer
User or community ID.
Note the community ID in the parameter
owner_idIt is necessary to indicate the sign "-" - for example,owner_id=-1corresponds to the community identifier VKontakte API (club1).
string
Short address of the user or community.
string
Search query. For an accurate result, the request must be passed in double quotes.
Max. length = 9000
checkbox
1 Return only records on behalf of the owner of the wall.
positive
Number of records to be returned.
A positive number, by default — 20 The maximum value 100 .
positive
Displacement is necessary to obtain a certain subset of results.
checkbox
1 Additional fields will be returned.. profiles and groups containing information about users and communities. By default: 0 .
string
Список дополнительных полей для профилей и групп, которые необходимо вернуть. См. description of user object fields and description of object fields group .
Note that this parameter is only taken into account when extended = 1 .
Result
After successful execution, it returns an object containing the number of results in the field count and array of objects records on the wall in the field items .
If a parameter has been set extended = 1 returns the number of results in the field count Separate array of objects records on the wall in the field items , users in the field profiles and community Communities in the field groups .
Error codes
Common errors may occur during execution
Linked versions
Go to API versions page- •
In return objects that describe community , появилось новое поле
is_messages_blocked. - •
В Callback API Added new events:
message_allowandmessage_deny. Методgroups.setCallbackSettingstwo new parameters, and the methodgroups.getCallbackSettingsreturns two new fields, respectively.
If no end date is specified in the method call parameters, return objects that describe community They no longer have a field.. finish_data . Previously, this field was present in the response and contained the default, equal to start_date + 2 hours.