The App Garden

Create an AppAPI DocumentationFeedsWhat is the App Garden?

flickr.people.getPublicGroups

Returns the list of public groups a user is a member of.

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 groups for.

Example Response

<groups>  <groupnsid="34427469792@N01"name="FlickrCentral"admin="0"eighteenplus="0"invitation_only="0" />  <groupnsid="37114057624@N01"name="Cal's Test Group"admin="1"eighteenplus="0"invitation_only="1" />  <groupnsid="34955637532@N01"name="18+ Group"admin="1"eighteenplus="1"invitation_only="0" /></groups>

Theadmin attribute indicates whether the user is an administrator of the group. Theeighteenplus attribute indicates if the group is visible to members over 18 only. Theinvite_only attribute indicates whether a user can join the group without administrator approval.

Error Codes

1: User not found
The user id passed did not match a Flickr 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.
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.

API Explorer

API Explorer : flickr.people.getPublicGroups