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

bool FlickrNet::Flickr::BlogPostPhoto ( int  blogId,
int  photoId,
string  title,
string  description,
string  blogPassword 
) [inline]

Posts a photo already uploaded to a blog. Requires authentication.

blogId The Id of the blog to post the photo too.
photoId The Id of the photograph to post.
title The title of the blog post.
description The body of the blog post.
blogPassword The password of the blog if it is not already stored in flickr.
True if the operation is successful.

Definition at line 949 of file Flickr.cs.

                  NameValueCollection parameters = new NameValueCollection();
                  parameters.Add("method", "flickr.blogs.postPhoto");
                  parameters.Add("title", Utils.UrlEncode(title));
                  parameters.Add("description", Utils.UrlEncode(description));
                  if( blogPassword != null ) parameters.Add("blog_password", blogPassword);
                  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