ig-token-extractor
v1.0.3
Published
Simple package to extract Instagram's Basic Display API's Long-Lived Access Token
Downloads
4
Maintainers
Readme
This CLI tool will help you to extract Instagram's Long-Lived Access Token just in few commands.
Usage:
> npm i -g ig-token-extractor
> ig-token-extractor
Instagram client secret:
Your Instagram App ID displayed in App Dashboard > Products > Instagram > Basic Display.
Instagram client id:
Your Instagram App Secret displayed in App Dashboard > Products > Instagram > Basic Display.
Instagram app redirect URI:
Your Valid OAuth Redirect URI displayed in App Dashboard > Products > Instagram > Basic Display under Client OAuth Settings section.
Instagram code from query param:
After visiting generated link you should be redirected to redirect URI from step 3. Code will be appended as a query param.
IMPORTANT: Note that
#_
will be appended to the end of the redirect URI, but it is not part of the code itself, so strip it out.