flickr-0.2.1: Haskell binding to the Flickr API

Portabilityportable
Stabilityprovisional
MaintainerSigbjorn Finne <sof@forkIO.com>

Flickr.Favorites

Description

flickr.favorites API, managing a user's favorite photos.

Synopsis

Documentation

add :: PhotoID -> FM ()Source

Adds a photo to a user's favorites list.

remove :: PhotoID -> FM ()Source

Removes a photo from a user's favorites list.

getList :: Maybe UserID -> [PhotoInfo] -> FM (PhotoContext, [Photo])Source

Returns a list of the user's favorite photos. Only photos which the calling user has permission to see are returned.

getPublicList :: UserID -> [PhotoInfo] -> FM (PhotoContext, [Photo])Source

Returns a list of favorite public photos for the given user.