vktoken

0.1.1 • Public • Published

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.

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i vktoken

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Last publish

    Collaborators

    • notarseniy