Allow users to see their Instagram photos from your web app — OAuth 2.0

  1. Go to the Instagram Developer Portal: https://www.instagram.com/developer/
  2. Then go to ‘Manage Clients’ > ‘Register New Client’
$('#btnLogin').click(function(){
location.href="https://api.instagram.com/oauth/authorize/?client_id=2b5c5ce6e1bc4c9382b30b6d63325328&redirect_uri=http://localhost/DemoApp/instagram.html&response_type=token";
})

--

--

Live to code | Senior Software Engineer @ WSO2

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store