wall

wall.get

The translation was generated automatically and may contain mistakes

Returns a list of records from the user or community wall.

To call this method, you can use:

Parameters

domain

string

Short address of the user or community.

offset

positive

The offset required to sample a particular subset of records.

count

positive

Number of records to be received. Maximum value: 100 .

filter

string

Determines what types of records on the wall need to be obtained. Possible values:

  • suggests - suggested community wall entries (available only on a broadcast call) access_token );
  • postponed Deferred records (available only when called with transmission access_token );
  • owner records of the owner of the wall;
  • others - records not from the owner of the wall;
  • all - all the records on the wall ( owner + others ).
  • donut — records for paid subscribers on the community wall. More about VK Donut API
    By default: all .
extended

checkbox

1 Additional fields will be returned.. profiles and groups containing information about users and communities. By default: 0 .

fields

string

List of additional fields for profiles and community Communities which must be returned. 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

19
Content blocked

Common errors may occur during execution

Linked versions

Go to API versions page

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.

  • In the object that describes community The type of fields has changed. start_date and finish_date From string to numeric.

  • Methods that work with news, when the filter is installed friend Return the field user_id instead of uid .

  • In the method fave.getLinks Images are returned in the fields photo_50 and photo_100 instead of image_src and image_middle .

Field post_type in возвращаемом объекте Using the value post instead of copy for reposts.

  • In the object describing the user , поля photo and photo_medium_rec renamed to photo_50 and photo_100 .

  • In the investment wall in field messages from and copy_owner Return the object user or community instead of an array.

returned objects contain information about reposts in a new format. In addition, the methods return information about subsequent reposts.