How to configure Vkontakte API

Vkontakte requires that you create an external application linking your website to their API. Application id and secret (also sometimes referred as Consumer key and secret or Client id and secret) are what we call an application credentials. This application will link your website example.com to Vkontakte API and these credentials are needed in order for Vkontakte users to access your website.

These credentials may also differ in format, name and content depending on the social network.

To enable authentication with this provider and to register a new Vkontakte API Application, follow the steps:

Step 1

First go to https://new.vk.com/dev.

Step 2

Select My apps > Create an application.

https://cdn.mageplaza.com/media/general/swK2RIr.png

Step 3

Fill out title , choosen Website , then fill out Site address and Base domain.

https://cdn.mageplaza.com/media/general/ObxTcWF.png

Step 4

Click Connect Site.

Step 5

Select tag setting to find Application ID and Secure key.

https://cdn.mageplaza.com/media/general/guDjulW.png

Step 6

Copy and insert Application ID and Secure Key into API fields in Magento Admin.

https://cdn.mageplaza.com/media/general/y2aEERR.png

And that’s it!

If for some reason you still can’t manage to create an application for Vkontakte, you can ask for support.

Expert’s recommendations