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

bool FlickrNet::Flickr::FavoritesRemove ( string  photoId  )  [inline]

Removes a photograph from the logged in users favourites. Requires authentication.

photoId The id of the photograph to remove.
True if the operation is successful.

Definition at line 1045 of file Flickr.cs.

                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.favorites.remove");
                  parameters.Add("photo_id", photoId);
                  FlickrNet.Response response = GetResponseCache(parameters);

                  if( response.Status == ResponseStatus.OK )
                        return true;
                        throw new FlickrException(response.Error);

Generated by  Doxygen 1.6.0   Back to index