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

Maxim Melnic
Maxim Melnic
4,178 Points

Qty

How do we determine how many photos to extract from json file and how Flickr Api generates these files? In this example, we extracted all the images, but how to find out their count? sure the photo with cat tag is much more...

1 Answer

Dave StSomeWhere
Dave StSomeWhere
19,870 Points

You go and read the documentation for the product/feature you are using. For this flicker API, you'll need to search and find it and see what options are available.

Check out what formats are available and if they support any options like limiting the size of the response container. Sometimes additional features have additional costs, it up to the provider.