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 trialJames Andrews
7,245 PointsPhotobombers - Instagram has changed what is allowed as a callback URL?
I have against my will registered for an account with instagram (man I feel dirty). I have gone to their developer section and gone to create a new application. When I go to enter the callback URI as photobombers://auth/instagram
and submit I am given the following error.
You must enter an absolute URI that starts with http:// or https://
I am unable to continue with this part of the track because the API setup at dirty fifty instagram disallows it.
5 Answers
James Andrews
7,245 PointsFound the issue, it wanted the website to start with http:// or https:// I can now move forward with the rest of this project. Why they can't just check for valid host and add http themselves is beyond me.
Chris Gamio
3,358 PointsI figured it out! For the field above callback uri (the website) I didn't have http:// specified. I put that in for the website and was able to register just fine. That is a really misleading error on instagram's part.
Unsubscribed User
5,079 PointsDo you get this error in the instagram client? Because id did seem to work for me (I used the exact same URI). However a different issue I came across, was not being to POST any data before unchecking the 'Disable implicit OAuth' checkbox in the instagram client. After that, I could fetch data.
James Andrews
7,245 PointsNo I get this in the web browser when I go to create my API credentials
Unsubscribed User
5,079 PointsThats very weird, I just created another client using "photobombers://auth/instagram" as the redirect URI without any problems. Don't know if it matters, but you mentioned you created your account just to build the app, did you activate your account (via the email they send?) . Besides that, can't think of anything else, sorry I couldn't help you out.
James Andrews
7,245 PointsYup I sure did. I'll try it again later when I am not getting ready for bed.
Chris Gamio
3,358 PointsI'm having this same issue. Did you ever get to the bottom of it? I'm not sure how to continue since I'm pretty sure the callback url needs to be valid.