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
<photoid="1253576"secret="81b96be690"server="1"farm="1"page="1"pages="3"perpage="10"total="27"> <personnsid="33939862@N00"username="Dementation"favedate="1166689690" /> <personnsid="49485425@N00"username="indigenous_prodigy"favedate="1166573724" /> <personnsid="46834205@N00"username="smaaz"favedate="1161874052" /> <personnsid="95626108@N00"username="chrome Foxpuppy"favedate="1160528154" /> <personnsid="44991966@N00"username="getnoid"favedate="1159828789" /> <personnsid="92544710@N00"username="miss_rogue"favedate="1158034266" /> <personnsid="50944224@N00"username="Infollatus"favedate="1155317436" /> <personnsid="80544408@N00"username="DafyddLlyr"favedate="1148511763" /> <personnsid="31154299@N00"username="c r i s"favedate="1143085224" /> <personnsid="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.