I created an application on vk.com/dev . In the settings indicated the site address http://localhost:8081/
, Basic domain: localhost
. Then I connected the vkapi library and try to log in:
var vk = new VK({ 'appID' : 5624111, 'appSecret' : 'BSXVqQsTSO66GDEF1111', 'mode' : 'oauth' });
But in the console error:
Uncaught Error: nodejs-vk-sdk: you have to specify VK application id
ID and key are exactly correct. What did I forget to add?