Fetching XML From Flickr
Flickr offers a fine XML API. All the details you need are available in the documentation at www.flickr.com/services/api/. Pull it up in your favorite web browser, and then find the list of Request Formats. You will be using the simplest – REST. This tells us that the API endpoint is http://api.flickr.com/services/rest/. You can invoke the methods Flickr provides on this endpoint.
Back on the main page of the API documentation, find the list of API Methods. Scroll down to the photos section and locate flickr.photos.getRecent. Click on flickr.photos.getRecent, and the documentation will report that this method “Returns a list of the latest public photos uploaded to flickr.” That is exactly what you need for PhotoGallery. ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access