Set up VK bot

To create and manage VK bots, you must have a Community created (group, event or public page).

1) Go to https://vk.com/;

2) Go to your community (if you do not already have a Community, then create it, go to the Groups section for this);

5) Using the “Add to the left menu” setting you can add your VK-bot to the left menu of your Community;

6) In the Greeting window, enter the message that will be sent automatically when the user first opens the dialog with the community;

7) Press "Save";

9) Enable Bot abilities;

10) Press Save;

12) Go to Api usage;

17) Go to the VK bot setup page on the Mobsted platform;

18) Fill in the “Bot Name” fields (enter your bot's unique identifier - ”group_id”) and “Token” and click “Save”;

19) Copy the "Webhook-address" to the clipboard;

21) In the list, check the checkboxes: Incoming messages, Outgoing messages, Edit messages, Add photos, Add video; Adding entries to the wall; Add a comment on the wall; add discussion; Joining the community; Leaving the community;

22) Go to "Callback API" / "Server settings" tab;

23) In the “Address” field, enter the Webhook address from the Mobstead page, select 5.87 in the drop-down menu in the “API Version” menu, enter text in the “Secret key” field (any string up to 50 characters) and click the “Save” button (under this field );

25) Go to the VK bot setup page on the Mobsted platform;

26) In the “Answer code Bot Confirmation” field, enter the line to confirm, in the Bot Secret field, enter the data from the “Secret key” field;

27) Press "Save";

29) After the confirmation click "Add server".

Your VK bot is ready to use.

Last updated