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 Showing Photos in a Collection View

Not sure the photos I'm retrieving are right

The photos are not mine

4 Answers

Stone Preston
Stone Preston
42,016 Points

yeah sure. you can get your photo feed by using this URL string instead of what you have currently:

https://api.instagram.com/v1/users/self/feed?access_token=ACCESS-TOKEN

although im not sure if that will get you your feed of photos of what people you follow posted or just yours. you could also try this one to get YOUR most recent photos if the above doesnt work like you want

https://api.instagram.com/v1/users/self/media/recent/?access_token=ACCESS-TOKEN
Stone Preston
Stone Preston
42,016 Points

they arent supposed to be. The app retrieves photos with a specific tag ( #photobomb i think?) from instagram.

Is it possible to retrieve my photos

Thank you