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

JavaScript AJAX Basics (retiring) AJAX and APIs Displaying the Photos

Nursultan Bolatbayev
Nursultan Bolatbayev
16,774 Points

It shows only 20 photos for each animal. Is it limitation from Flickr API?

Can it be extended?

1 Answer

rydavim
rydavim
18,814 Points

If you'd like more than 20 images, you'll need to use the flickr api proper, which you'll need to get a key to use. It's probably beyond the scope of this course, but you are correct that the feeds are limited to the most recent 20 images matching your query.

Edit: Look like even with the api you'll be limited to 500 images in a single api call.