Searching Flickr

Let’s begin with the Flickr side of things. To search Flickr, you call the method. Here is what a GET request to search for the text cat looks like:

The method is set to The text parameter is set to whatever string you are searching for (cat, in this case). Setting safesearch to 1 filters potentially offensive results from the search data sent back.

Some of the parameter-value pairs, such as format=json, are constant across both the and flickr.interestingness.getList request URLs. You are going to abstract ...

Get Android Programming: The Big Nerd Ranch Guide, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.