crino / instagram-ios-sdk

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

Redirect URI does not match registered redirect URI #5

Closed sairasamdani closed 11 years ago

sairasamdani commented 11 years ago

I have create an app on instagram. have set redirect URI as following: https://igCLIENT_ID://authorize

In my iPhone project's info.plist, am giving igCLIENT_ID:// in URL SCHEME. but am getting the same error again and again on login. it takes user name, password and then shows this error.

I need to add instagram to my project asap. Any help will be much appreciated.

Thank you

Signar commented 11 years ago

Try removing "https://" from the redirect URI -> http://instagram.com/developer/clients/manage/ Also, you shouldn't use "://" when declaring the instagram app url scheme in your plist, only igCLIENT_ID

sairasamdani commented 11 years ago

Hi Signar, thanks for your quick response. It really solved the issue.

ShantanuPhate commented 10 years ago

Hi @Signar , I am facing exactly the same problem. I have updated the "https://" to "http://" and also updated the plist and set it to ig[CLIENT_ID] but still getting the same error. Please help

crino commented 10 years ago

be sure that you've configured the right client id in plist (igXXXXXXX)

iosdeveloper123 commented 6 years ago

Hi, After i given the ig[CLIENT_ID] same error is showing , kindly tell How to resolve this error in ios, please help { "error_type": "OAuthException", "code": 400, "error_message": "Redirect URI does not match registered redirect URI" }