Current section

Files

Jump to
flickrex lib flickr getMethodInfo flickr.photos.getContactsPublicPhotos.json
Raw

lib/flickr/getMethodInfo/flickr.photos.getContactsPublicPhotos.json

{
"arguments": {
"argument": [
{
"_content": "Your API application key. <a href=\"/services/api/misc.api_keys.html\">See here</a> for more details.",
"name": "api_key",
"optional": 0
},
{
"_content": "The NSID of the user to fetch photos for.",
"name": "user_id",
"optional": "0"
},
{
"_content": "Number of photos to return. Defaults to 10, maximum 50. This is only used if <code>single_photo</code> is not passed.",
"name": "count",
"optional": "1"
},
{
"_content": "set as 1 to only show photos from friends and family (excluding regular contacts).",
"name": "just_friends",
"optional": "1"
},
{
"_content": "Only fetch one photo (the latest) per contact, instead of all photos in chronological order.",
"name": "single_photo",
"optional": "1"
},
{
"_content": "Set to 1 to include photos from the user specified by user_id.",
"name": "include_self",
"optional": "1"
},
{
"_content": "A comma-delimited list of extra information to fetch for each returned record. Currently supported fields are: license, date_upload, date_taken, owner_name, icon_server, original_format, last_update.",
"name": "extras",
"optional": "1"
}
]
},
"errors": {
"error": [
{
"_content": "The user NSID passed was not a valid user NSID.",
"code": "1",
"message": "User not found"
},
{
"_content": "The API key passed was not valid or has expired.",
"code": 100,
"message": "Invalid API Key"
},
{
"_content": "The requested service is temporarily unavailable.",
"code": 105,
"message": "Service currently unavailable"
},
{
"_content": "The requested operation failed due to a temporary issue.",
"code": 106,
"message": "Write operation failed"
},
{
"_content": "The requested response format was not found.",
"code": 111,
"message": "Format \"xxx\" not found"
},
{
"_content": "The requested method was not found.",
"code": 112,
"message": "Method \"xxx\" not found"
},
{
"_content": "The SOAP envelope send in the request could not be parsed.",
"code": 114,
"message": "Invalid SOAP envelope"
},
{
"_content": "The XML-RPC request document could not be parsed.",
"code": 115,
"message": "Invalid XML-RPC Method Call"
},
{
"_content": "One or more arguments contained a URL that has been used for abuse on Flickr.",
"code": 116,
"message": "Bad URL found"
}
]
},
"method": {
"description": {
"_content": "Fetch a list of recent public photos from a users' contacts."
},
"name": "flickr.photos.getContactsPublicPhotos",
"needslogin": 0,
"needssigning": 0,
"requiredperms": 0,
"response": {
"_content": "<photos>\n\t<photo id=\"2801\" owner=\"12037949629@N01\"\n\t\tsecret=\"123456\" server=\"1\"\n\t\tusername=\"Eric is the best\" title=\"grease\" /> \n\t<photo id=\"2499\" owner=\"33853651809@N01\"\n\t\tsecret=\"123456\" server=\"1\"\n\t\tusername=\"cal18\" title=\"36679_o\" /> \n\t<photo id=\"2437\" owner=\"12037951898@N01\"\n\t\tsecret=\"123456\" server=\"1\"\n\t\tusername=\"georgie parker\" title=\"phoenix9_stewart\" /> \n</photos>"
}
},
"stat": "ok"
}