0.1.1 • Published 7 years ago
vktoken v0.1.1
VKToken
Get OAuth 2.0 token from VK.
Install
npm install -g vktoken
(or without -g
flag, if you're using it only as library)
Usage from terminal
With vktoken.json:
vktoken
See config example in vktoken.example.json.
With command line options:
vktoken --client_id 1337 --client_secret "THISISRANDOMEXAMPLE" --username "+79999999999" --password "qwertyuiop" --phone "+79999999999"
Arguments:
--client_id
— ID of your application;--client_secret
— Secret code of application;--username
— Your email or phone of VK;--password
— Your password;--phone
— Phone number;
MacOS (copies to clipboard):
vktoken | pbcopy
The response contains the token.
Copyright
Arseniy Maximov, 2017.