Publish a post
vk_wall_postPublish a post on a VK wall, supporting community posting, media attachments, and scheduled publishing.
Instructions
Publish a post on a wall. To post in a community, set owner_id to the community ID with a minus sign (-123) and from_group true, otherwise it appears as your personal post on the community wall. Attach media with the attachment string that vk_photos_upload_wall returns. Returns the new post_id.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | No | Unique identifier to prevent duplicate posts | |
| message | Yes | Post text content | |
| owner_id | No | Wall owner: a community as a negative number (-123), a person as a positive one. Defaults to the token owner. | |
| from_group | No | Post on behalf of community | |
| attachments | No | Comma-separated attachments (e.g. photo123_456,link) | |
| publish_date | No | Unix timestamp for scheduled post (must be within 2 weeks) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ID of the published post |