![]() |
![]() |
Flickcurl Flickr API Manual | ![]() |
|
---|---|---|---|---|
flickcurl_blog; flickcurl_blog** flickcurl_blogs_getList (flickcurl *fc); int flickcurl_blogs_postPhoto (flickcurl *fc, const char *blog_id, const char *photo_id, const char *title, const char *description, const char *blog_password); void flickcurl_free_blogs (flickcurl_blog **blogs_object);
typedef struct { char* id; char* name; int needs_password; char* url; } flickcurl_blog;
A blog.
char * |
ID |
char * |
Group Name |
int |
needs password |
char * |
URL |
flickcurl_blog** flickcurl_blogs_getList (flickcurl *fc);
Get a list of configured blogs for the calling user.
Implements flickr.blogs.getList (1.0)
|
flickcurl context |
Returns : |
non-0 on failure |
int flickcurl_blogs_postPhoto (flickcurl *fc, const char *blog_id, const char *photo_id, const char *title, const char *description, const char *blog_password);
Post a photo to a blog/
Implements flickr.blogs.postPhoto (1.0)
|
flickcurl context |
|
The id of the blog to post to |
|
The id of the photo to blog |
|
The blog post title |
|
The blog post body |
|
The password for the blog (used when the blog does not have a stored password) (or NULL) |
Returns : |
non-0 on failure |
void flickcurl_free_blogs (flickcurl_blog **blogs_object);
Destructor for array of blog objects
|
blog object array |