vk-to-ig
VK to Instagram migration tool
Before usage
In order to use this tool you need to obtain some authorization info for VK and Instagram:
- VK user id (number). Can be obtained on https://vk.com/settings page.
- VK API Key. Can be obtained using this instruction. You need to create VK App first, then navigate to
https://oauth.vk.com/authorize?client_id=<app_id>&redirect_uri=http://localhost&response_type=code&scope=100
(<app_id>
is id of your application), you will be redirected to http://localhost with code in query parameter, copy it. Then navigate tohttps://oauth.vk.com/access_token?client_id=<app-id>&client_secret=<app_secret>&redirect_uri=http://localhost&code=<code>
(<app_id>
is id of your application,<app_secret>
is secret key of your application (can be found of app settings page),<code>
is code you got on previous step) and you will receive temporary API token. - Instagram username.
- Instagram password.
Usage
$ npm install -g vk-to-ig
$ vk-to-ig COMMAND
running command...
$ vk-to-ig (-v|--version|version)
vk-to-ig/0.0.5 darwin-x64 node-v14.15.4
$ vk-to-ig --help [COMMAND]
USAGE
$ vk-to-ig COMMAND
...
Commands
vk-to-ig help [COMMAND]
display help for vk-to-ig
USAGE
$ vk-to-ig help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
vk-to-ig photos
Moves photos from VK to Instagram
USAGE
$ vk-to-ig photos
OPTIONS
-h, --help show CLI help
-t, --type=(wall|profile|saved) (required) Photos type
EXAMPLE
$ vk-to-ig photos --type wall
See code: src/commands/photos.ts