FlickrNet.Flickr.FavoritesRemove C# (CSharp) Method

FavoritesRemove() public method

Removes a photograph from the logged in users favourites. Requires authentication.
public FavoritesRemove ( string photoId ) : bool
photoId string The id of the photograph to remove.
return bool
        public bool FavoritesRemove(string photoId)
        {
            Hashtable parameters = new Hashtable();
            parameters.Add("method", "flickr.favorites.remove");
            parameters.Add("photo_id", photoId);
            FlickrNet.Response response = GetResponseCache(parameters);

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