O'Reilly logo

Flickr Hacks by Jim Bumgardner, Paul Bausch

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

API Methods

The Flickr API methods are organized into groups by functionality. This section provides a quick overview of API as a whole, but we recommend that you view the individual API information pages on Flickr for the particular calls that pique your interest. Also, bear in mind that Flickr's API is still rapidly growing and gaining in functionality. Check the current method list at http://www.flickr.com/services/api/ to find new additions and changes.

Authorization

These methods are used to authenticate (i.e., authorize) applications that use the Flickr API:

flickr.auth.checkToken
flickr.auth.getFrob
flickr.auth.getFullToken
flickr.auth.getToken

You might need to use these methods if you intend to use other API methods that perform more invasive tasks, such as deleting photos or viewing your own private photos. However, we recommend that, if possible, you avoid using these methods by making use of one of the API kits that performs authentication internally. phpFlickr (for PHP users) and Flickr::API (for Perl users) are two excellent choices. See [Hack #40] and [Hack #41] for examples.

Blogs

These methods permit you to interact with any blogs that you have configured to work with Flickr:

flickr.blogs.getList
flickr.blogs.postPhoto

Contacts

These methods permit you to produce lists of your contacts, or some other user's contacts:

flickr.contacts.getList
flickr.contacts.getPublicList

Favorites

These methods permit you to manipulate and view favorites (photos that you or other people have marked ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required