Publish a photo story
vk_stories_post_photoPublish a photo story on VK from an image URL or local file. Set group_id to post as a community; omit it for a personal story.
Instructions
Publish a photo story on VK (three-step upload: get upload server, upload the photo, save). Posts a personal story, or a community one when group_id is set.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| image | Yes | Image URL (http/https) or absolute local file path | |
| group_id | No | Community ID or its short name (e.g. apiclub) to post as. Positive and without the minus sign. Omit to post a personal story. | |
| link_url | No | Link URL for the button (requires link_text) | |
| link_text | No | Link button text | |
| add_to_news | No | Add the story to the news feed (default true) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Total number of matches on VK, which is usually larger than the returned page | |
| items | Yes | The created photo story | |
| pagination | No | Where this page sits in the whole result. Call the tool again with offset set to next_offset to continue; when next_offset is null there is nothing left to fetch. |