wall.edit
The translation was generated automatically and may contain mistakes
After updating methods 4 June 2026 images of non-standard sizes in the carousel are Framed automatically. To set your values, use the parameter photo_attachments_crop .
Editing the tape on the wall.
Restrictions on published content:
- •You can add no more than 10 media to the post (photos, videos).
- •You can add no more than 1 music track or 1 playlist/album to the post*
- •You can’t add music to a post if it has a video.
- •Music can be added if there is at least one photo.
- •One file may be added.
Parameters
integer
The identity of the user or community on whose wall the record is located.
Note the community ID in the parameter
owner_idIt is necessary to indicate the sign "minus" - for example,owner_id=-1corresponds to the community identifier VKontakte API (club1)
positive
The record ID on the wall.
Required parameter
checkbox
1 The recording will only be available to friends.. 0 to all users.
The parameter is only taken into account when editing a deferred record.
text
Text of the message (it is mandatory if the parameter is not set attachments ).
string
List of objects attached to the record and separated by the symbol " , ». Field attachments It is presented in the format:
<type><owner_id>_<media_id>,<type><owner_id>_<media_id>
- •
typeType of media investment:- •
photo- a photograph. - •
video- video. - •
audio- audiotape. - •
doc- file. - •
poll- a survey. - •
audio_playlistPlaylist with audio.
- •
<owner_id> - ID of the owner of the media application;
<media_id> media application identifier.
For example:
photo100172_166443618,photo66748_265827614
Also in the field attachments There may be a link to an external page that you want to place in the status, for example:
photo66748_265827614,http://habrahabr.ru
If you try to attach more than one link, an error will be returned.
A parameter is mandatory if no parameter is set message .
text
Fragmentation for the photo.
Format: JSON object array where each object consists of:
- •
photo_idID of the photo in the format{owner_id}_{media_id} - •
xDisplacement to the left in pixels - •
yDisplacement to the left in pixels - •
widthwidth in pixels - •
heightThe height in pixels
Example:
[
{
"photo_id": "11111111_23423421",
"x": 10,
"y": 10,
"width": 300,
"height": 300
}
]string
List of services or sites to which you need to export the record, if the user has configured the appropriate option. For example, twitter , facebook .
The parameter is only taken into account when editing a deferred record.
checkbox
1 - a record posted on behalf of the community will have a signature added (the name of the user who posted the record), 0 No signature will be added.
The parameter is taken into account only when editing a record on the community wall published on behalf of the group.
positive
Date of publication of record in format unixtime . If the parameter is not specified, the delayed entry will be published.
The parameter is only taken into account when editing a deferred record.
string
The geographical latitude of the mark, given in degrees (from -90 to 90).
string
Geographical longitude of the mark, given in degrees (from -180 to 180).
positive
Identifier of the place where the user is marked.
checkbox
1 - the record posted on behalf of the community will be added the label "this is an advertisement", 0 - the label will not be added / remove the installed label. The label can be removed within five minutes after its installation. No more than five advertising entries may be published per day, of which no more than three are outside the VKontakte Exchange..
checkbox
1 Comments to the recording are disabled.
0 Comments to the recording are included.
integer
the period of time during which the record will be available to the Dons — paid subscribers of VK Donut. Possible values:
- •
-1exclusively for the Dons; - •
86400for one day; - •
172800for 2 days; - •
172800for 3 days; - •
345600for 4 days; - •
432000for 5 days; - •
518400for 6 days; - •
604800- for seven days.
positive
Not used, marked for removal
integer
Not used, marked for removal
string
Not used, marked for removal
positive
string
Defines the format for displaying attached media files. By default, they are placed in the form of a carousel, where the user can view them one by one as a slideshow. When setting the value grid Media files will be presented in a grid format where multiple media files are shown simultaneously.
Result
After successful completion, return post_id The ID of the edited post.
Error codes
Common errors may occur during execution