crino / instagram-ios-sdk

Instagram SDK for iOS
http://www.followgram.me
228 stars 63 forks source link

{"code": 400, "error_type": "OAuthException", "error_message": "Redirect URI does not match registered redirect URI"} #39

Closed 0xjorgev closed 10 years ago

0xjorgev commented 10 years ago

Hi there! awesome SDK but am generating this URL and so far i only get this answer from instagram:

my Url generated in the app: https://instagram.com/oauth/authorize?response_type=token&redirect_uri=248796138fde415ca17f4f3f7d59d43b%3A%2F%2Fauthorize&scope=basic&client_id=248796138fde415ca17f4f3f7d59d43b

the response: {"code": 400, "error_type": "OAuthException", "error_message": "Redirect URI does not match registered redirect URI"}

any help would be very appreciated!

Regards,

Jorge.

crino commented 10 years ago

problably you've set a wrong redirect uri in instagram. your redirect uri should be: ig248796138fde415ca17f4f3f7d59d43b://authorize

0xjorgev commented 10 years ago

Thanks for your ultrafast response, that was exactly the error also the URL for the app wasn't set in the right way, now it's all working as a charm!

thanks for your time!

Jorge.

desatir7316 commented 8 years ago

same problem, i got that error too :( btw do i need use access token if I only want to get eg. followers count?