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

PhotoBombers app

I have just completed the PhotoBombers iOS course on here, and it seems that the app will only display 20 pictures from Instagram. Is there a way to increase this?

2 Answers

I guess you have to change the "tags/photobomb/media/recent?" endpoint for another one, or maybe there's a parameter for the min or max number of results. You should look for this info in the Instagram API. Here is the info for what we used in this project and for other endpoints.

Thank you for the reply! I have just had a look and there seems to be a max_id endpoint but i am not sure where i am to put it on the URL, would it be after the access token?

You have this console to experiment with requests and see the results. And it doesn't seem that max_id parameter is for the number of results.