Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

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!