Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS Build a Photo Browser iPhone App Connecting to an API using OAuth Introducing API and OAuth 2.0

john shen
john shen
6,663 Points

OAuth Error 403

When I try login the Instagram in the app I received the following error: { "code": 403, "error_type": "OAuthForbiddenException", "error_message": "Implicit authentication is disabled" } Can anyone help please?

Ian McGraw
Ian McGraw
2,287 Points

I was just about to post the same question.. From what I can find online it looks like Instagram has disabled this form of authentication and we now have to use an "explicit" one. I am not quite sure how to do that yet but I will post if I can figure it out.

3 Answers

Anders Sommer-Larsen
Anders Sommer-Larsen
7,676 Points

Go to Manage clients under instagram/developer. Then click edit under your app and uncheck Disable Implicit OAuth. It will now work as intended.

Instragram changed this for a reason though, so should probably think twice before going public with your app: http://instagram.com/developer/restrict-api-requests/

Hf. with further development ;)

Danielle Smith
Danielle Smith
2,509 Points

What changes do we have to make to the photo bombers app in order to use the explicit form of authentication?

john shen
john shen
6,663 Points

than you for the help!