The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.photos.getFavorites
Returns the list of people who have favorited a given photo.
Authentication
This method does not require authentication.
Arguments
api_key
(Required)- Your API application key. See here for more details.
photo_id
(Required)- The ID of the photo to fetch the favoriters list for.
page
(Optional)- The page of results to return. If this argument is omitted, it defaults to 1.
per_page
(Optional)- Number of usres to return per page. If this argument is omitted, it defaults to 10. The maximum allowed value is 50.
Example Response
<photo id="1253576" secret="81b96be690" server="1" farm="1" page="1" pages="3" perpage="10" total="27"> <person nsid="33939862@N00" username="Dementation" favedate="1166689690" /> <person nsid="49485425@N00" username="indigenous_prodigy" favedate="1166573724" /> <person nsid="46834205@N00" username="smaaz" favedate="1161874052" /> <person nsid="95626108@N00" username="chrome Foxpuppy" favedate="1160528154" /> <person nsid="44991966@N00" username="getnoid" favedate="1159828789" /> <person nsid="92544710@N00" username="miss_rogue" favedate="1158034266" /> <person nsid="50944224@N00" username="Infollatus" favedate="1155317436" /> <person nsid="80544408@N00" username="DafyddLlyr" favedate="1148511763" /> <person nsid="31154299@N00" username="c r i s" favedate="1143085224" /> <person nsid="54309070@N00" username="Shinayaker" favedate="1142584219" /> </photo>
Error Codes
1: Photo not found
- The specified photo does not exist, or the calling user does not have permission to view it.
100: Invalid API Key
- The API key passed was not valid or has expired.
105: Service currently unavailable
- The requested service is temporarily unavailable.
106: Write operation failed
- The requested operation failed due to a temporary issue.
111: Format "xxx" not found
- The requested response format was not found.
112: Method "xxx" not found
- The requested method was not found.
114: Invalid SOAP envelope
- The SOAP envelope send in the request could not be parsed.
115: Invalid XML-RPC Method Call
- The XML-RPC request document could not be parsed.
116: Bad URL found
- One or more arguments contained a URL that has been used for abuse on Flickr.