The App GardenCreate an App API Documentation Feeds What is the App Garden? |
flickr.contacts.getPublicList
Get the contact list for a user.
Authentication
This method does not require authentication.
Arguments
api_key(Required)- Your API application key. See here for more details.
user_id(Required)- The NSID of the user to fetch the contact list for.
page(Optional)- The page of results to return. If this argument is omitted, it defaults to 1.
per_page(Optional)- Number of photos to return per page. If this argument is omitted, it defaults to 1000. The maximum allowed value is 1000.
Example Response
<contacts page="1" pages="1" perpage="1000" total="3"> <contact nsid="12037949629@N01" username="Eric" iconserver="1" ignored="1" /> <contact nsid="12037949631@N01" username="neb" iconserver="1" ignored="0" /> <contact nsid="41578656547@N01" username="cal_abc" iconserver="1" ignored="0" /> </contacts>
See flickr.contacts.getList for an explanation of the response.
Error Codes
1: User not found- The specified user NSID was not a valid user.
100: Invalid API Key- The API key passed was not valid or has expired.
105: Service currently unavailable- The requested service is temporarily unavailable.
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.