- Register a client at https://www.instagram.com/developer/ (redirect_uri can be something simple such as http://localhost)
- Go to the 'Security' tab for your client (under manage) and untick 'Disable implicit OAuth'
- Take the following URL, subsitute the
[client_id]
with your own and the[redirect_uri]
with one you specified during the registration process: https://api.instagram.com/oauth/authorize/?client_id=[client_id]&redirect_uri=[redirect_uri]&response_type=token - Navigate to the URL in the browser (while logged in as the same user), after accepting any prompts you should be redirected to your specified redirect_uri with the access token appended
Created
January 17, 2017 09:30
-
-
Save 4lun/1fcba4f1f18fdb7ad1976c95a8ff3823 to your computer and use it in GitHub Desktop.
Generate a personal access token for Instagram
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment