Logo Search packages:      
Sourcecode: f-spot version File versions  Download package

Photos FlickrNet::Flickr::PeopleGetPublicPhotos ( string  userId  )  [inline]

Gets a users public photos. Excludes private photos.

Parameters:
userId The user id of the user.
Returns:
The collection of photos contained within a Photo object.

Definition at line 1618 of file Flickr.cs.

            {
                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.people.getPublicPhotos");
                  parameters.Add("api_key", _apiKey);
                  parameters.Add("user_id", userId);

                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                  {
                        return response.Photos;
                  }
                  else
                  {
                        throw new FlickrException(response.Error);
                  }
            }


Generated by  Doxygen 1.6.0   Back to index