Skip to content

Instantly share code, notes, and snippets.

@alexwybraniec
Created October 24, 2016 17:14
Show Gist options
  • Select an option

  • Save alexwybraniec/d09d4fbcea1eb2cb65da11ec5d898b67 to your computer and use it in GitHub Desktop.

Select an option

Save alexwybraniec/d09d4fbcea1eb2cb65da11ec5d898b67 to your computer and use it in GitHub Desktop.
Instagram API
BEHOLD I HAVE SLAYED THE VILE INSTRAGRAM API!
Should you need to do the same...
Regsiter a new client here
https://www.instagram.com/developer/clients/manage/
Fill in valid detail etc etc
And you'll get a Client ID
Stick that client id into this URL
https://www.instagram.com/oauth/authorize/?client_id=CLIENTID&redirect_uri=REDIRECT-URI&response_type=token
and also replace REDIRECT-URI with the redirect URL you entered when registering the client
Hit enter and behold!
You get an error (edited)
Stating that "Implicit authentication is disabled"
Go back into your client page, go to Security and untick ' Disable implicit OAuth:'
and the resubmit the earlier URL
AND BEHOLD!
You get redirected to your redirect URL
BUT BEHOLD!!!!
in the URL there will be an access key
and you can use that to <s>beat the demogorgon</s> get your pictures
(and afterwards you probably want to re-tick Disable implicit OAuth, this might break things but we'll find out)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment