'Failed to get access token from Instagram in jQuery

Here is Postman request and response

screenshot Postman request/response

I'm trying to get code first from this URL:

https://api.instagram.com/oauth/authorize?client_id="My ClientID"&redirect_uri='my redirctUri'/&scope=user_profile,user_media&response_type=code&grant_type=authorization_code

Then I got code like that: https://myredirctCode?code=MyCode#_

Copy that code and paste on Postman collection and getting error

also I'm following How do I recive instagram log in token using ajax answer to change response type to token

And I'm getting this response

screenshot response

I'm using Instagram page for displaying.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source