> For the complete documentation index, see [llms.txt](https://help.blinger.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.blinger.io/documentation/section-apps/adding-accounts/vkontakte.md).

# Vkontakte

## General information

#### The integration allows you to:

* **connect Communities / Groups** to Blinger.io (not personal accounts)
* **reply to messages**, being sent by the users to the Community
* **reply to comments** of the users under the publications, which were posted on the wall of the Community by those, who has the possibility to manage this Community

{% hint style="warning" %}

#### **Before the Vkontakte integration you should:**

* get authorized in Vkontakte under the account, which has the role of "Administrator" in the Community / Group being connected
* double check that the Community being connected has **the function "Write a message" activated** (path: Manage - Messages - Community messages: On)
  {% endhint %}

## Connect Dialogues?

### **Step 1.** Open the tab Apps and click on "Add new app"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-Llpe99u5FiBf_oc410Z%2F-LlqAvctzb5OCngjsdci%2Fimage.png?alt=media\&token=b4095bfb-4510-4a53-a27e-c3b5a6583011)

### **Step 2.** Select VK channel and click on "Add VK"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-Llqrp9zkZAr7qchxJO3%2F-LlquFt8nHp4m2r4hL71%2Fimage.png?alt=media\&token=fc5abed4-fb52-4211-b1af-90e1df43f091)

### **Step 3.** Click on "Start" in the window that appeared

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-Llqrp9zkZAr7qchxJO3%2F-Llqv9iOaqyeDIEZyiMc%2Fimage.png?alt=media\&token=ac286068-1f14-463e-8973-d673a3f208df)

### **Step 4.** Select the Community, which you plan to connect

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-Llqrp9zkZAr7qchxJO3%2F-LlqvLgo91l9M7VRWo48%2Fimage.png?alt=media\&token=215ca669-03ff-4292-b171-fe9839915072)

... click on "Allow" fo the possibility to connect the application to Blinger.io

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmP_Fsuxu6h9qnWCza-%2F-LmP_HC8UHVdtThbvmhA%2Fimage.png?alt=media\&token=15a9e4b1-72ce-46b7-b023-b9fad2e1113d)

... after that, in Blinger.io the status that the integration was finalized will appear. **But the integration has not been completed yet!!!**

### **Step 5.** Click on "Edit" in the Vkontakte integration

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-Llqrp9zkZAr7qchxJO3%2F-LlqwVTaTkzytCzU3lwn%2Fimage.png?alt=media\&token=a022601a-f637-4dd9-b821-617fceadd4aa)

### **Step 6.** Go to Vkontakte and browse to section "Manage" of the community, which has been connected

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKbSJ3-CVnFMMhDPHm%2Fimage.png?alt=media\&token=d20fcc9f-b80b-4855-80c7-52eab3d1dac5)

### **Step 7.** Browse to section «API usage», and switch to tab «СаllBack API»

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKc36JUEqqJm3SmcTk%2Fimage.png?alt=media\&token=aa113158-352d-49bd-bafd-1d5b016595a2)

### **Step 8.** Copy the value of "String to be returned"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKdP6z1-GHj8yWZ-2W%2Fimage.png?alt=media\&token=30ef6408-4838-4fb2-977d-d462beac0611)

### **Step 9.** Go to Blinger.io and paste the copied value in the field "Webhook key" and click on "Add"

{% hint style="info" %}
After the Secret key (shown in the image) has been generated, you should copy it
{% endhint %}

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKe1oyvS8yoxVDjUsM%2Fimage.png?alt=media\&token=78efea72-cac9-43d2-acd7-14c428bfcf78)

### **Step 10.** Go to Vkontakte, paste Secret key in the field "Secret key" and click on "Save"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKeubNjY-zFsGlpeoQ%2Fimage.png?alt=media\&token=28668b01-c5fb-4a1e-bd62-c9fb927739a8)

### **Step 11. Fill in the "URL" field, install API v.5.50 version and click on "Confirm"**

The value for the field "URL": [**https://api.blinger.io/vk\_webhook**](https://api.blinger.ru/vk_webhook)

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKfkzA2JKoY_qPhNUO%2Fimage.png?alt=media\&token=fbe51eb3-38d6-4aa8-a06d-f0c6ca75e800)

### **Step 12.** Activate in the tab "Event types" the item "Message received"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKgr7-PlX5IFWq3ona%2Fimage.png?alt=media\&token=9581e226-2a96-422b-bfc5-e9ba5d0e0a28)

{% hint style="success" %}

### **The integration is completed!**

{% endhint %}

## Connect Comments?

#### **Step 1.** Click on "Edit" in the Vkontakte integration

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmPXv-H1WzUV4odHAB3%2F-LmPY57WY99e1Am0263R%2Fimage.png?alt=media\&token=4e667570-e88a-4a90-af88-3399bfbf3474)

#### **Step 2.** Click "Get access token" in the window that appeared

{% hint style="warning" %}
Upon each click on «Get access token», the toked for work with comments will be updated
{% endhint %}

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmPXv-H1WzUV4odHAB3%2F-LmPYGIgJKd0az5jkDA1%2Fimage.png?alt=media\&token=b80b7dd9-6cd8-47a3-bab4-3fa48066fa44)

#### **Step 3.** Copy in the window that appeared the token value from the address bar of the browser between the values `access_token=` and `&`

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LEnn5bAWXkqWJ6gJagQ%2F-LEoImDS663UMF-zlvGp%2FVk_step_12.png?alt=media\&token=03076851-0fe5-4c02-adbb-abad1858e348)

#### **Step 4.** Go to Blinger.io, paste the copied value and click on "Save"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmPXv-H1WzUV4odHAB3%2F-LmPYnStm2guQa0Zw1hU%2Fimage.png?alt=media\&token=e2a2e71e-b091-4599-84de-19cb931538c4)

#### **Step 5.** Open in a new tab Vkontakte, browse to the main page of the connected "Community" and browse to section "Manage"

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKbSJ3-CVnFMMhDPHm%2Fimage.png?alt=media\&token=d20fcc9f-b80b-4855-80c7-52eab3d1dac5)

#### **Step 6.** Click on "API usage" in the menu to the right, switch to tab "СаllBack API»

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmK_YJqf2KsFJMR15P1%2F-LmKc36JUEqqJm3SmcTk%2Fimage.png?alt=media\&token=aa113158-352d-49bd-bafd-1d5b016595a2)

#### **Шаг 7.** Switch to the tab "Event types" and tick the box "New" in "Wall comments" block

![](https://2982933755-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LB1W87r5cFc0hgB5qdy%2F-LmPXv-H1WzUV4odHAB3%2F-LmPZVh1H0cvRcf4lZx5%2Fimage.png?alt=media\&token=2c29538b-b1a5-4c92-aed3-611f49b5c9d1)

{% hint style="success" %}
**The integration is completed!**
{% endhint %}
