Current section
Files
Jump to
Current section
Files
lib/flickr/getMethodInfo/flickr.favorites.getContext.json
{
"stat": "ok",
"method": {
"response": {
"_content": "<rsp stat='ok'>\n<count>3</count>\n<prevphoto id=\"2980\" secret=\"973da1e709\"\n\ttitle=\"boo!\" url=\"/photos/bees/2980/\" /> \n<nextphoto id=\"2985\" secret=\"059b664012\"\n\ttitle=\"Amsterdam Amstel\" url=\"/photos/bees/2985/\" />\n</rsp>"
},
"requiredperms": 0,
"needssigning": 0,
"needslogin": 0,
"name": "flickr.favorites.getContext",
"explanation": {
"_content": "<p>See <a href=\"/services/api/flickr.photos.getContext.html\">flickr.photos.getContext</a></p>"
},
"description": {
"_content": "Returns next and previous favorites for a photo in a user's favorites."
}
},
"errors": {
"error": [
{
"message": "Photo not found",
"code": "1",
"_content": "The photo id passed was not a valid photo id, or was the id of a photo that the calling user does not have permission to view."
},
{
"message": "User not found",
"code": "2",
"_content": "The specified user was not found."
},
{
"message": "Photo not a favorite",
"code": "3",
"_content": "The specified photo is not a favorite of the specified user."
},
{
"message": "Invalid API Key",
"code": 100,
"_content": "The API key passed was not valid or has expired."
},
{
"message": "Service currently unavailable",
"code": 105,
"_content": "The requested service is temporarily unavailable."
},
{
"message": "Write operation failed",
"code": 106,
"_content": "The requested operation failed due to a temporary issue."
},
{
"message": "Format \"xxx\" not found",
"code": 111,
"_content": "The requested response format was not found."
},
{
"message": "Method \"xxx\" not found",
"code": 112,
"_content": "The requested method was not found."
},
{
"message": "Invalid SOAP envelope",
"code": 114,
"_content": "The SOAP envelope send in the request could not be parsed."
},
{
"message": "Invalid XML-RPC Method Call",
"code": 115,
"_content": "The XML-RPC request document could not be parsed."
},
{
"message": "Bad URL found",
"code": 116,
"_content": "One or more arguments contained a URL that has been used for abuse on Flickr."
}
]
},
"arguments": {
"argument": [
{
"optional": 0,
"name": "api_key",
"_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details."
},
{
"optional": "0",
"name": "photo_id",
"_content": "The id of the photo to fetch the context for."
},
{
"optional": "0",
"name": "user_id",
"_content": "The user who counts the photo as a favorite."
}
]
}
}