This skill allows you to manage a VK community using the VK API.
To post to a community wall:
node scripts/vk_cli.js upload-photo $TOKEN $GROUP_ID "./image.jpg"post с полученным ID вложения:node scripts/vk_cli.js post $TOKEN -$GROUP_ID "Текст поста" $ATTACH_IDTo respond to user messages:
get-messages.message.To receive and process messages instantly:
poll command:node scripts/vk_cli.js poll $TOKEN $GROUP_ID 1 (where 1 means auto-mark as read).Note: This skill works best with a User Token that has messages,wall,groups,offline permissions. Use VK Host to get a permanent token.
For details on setting up Long Poll and specialized API methods, refer to references/api.md.
共 1 个版本