Package | com.adobe.webapis.flickr.methodgroups |
Class | public class Blogs |
Method | Defined by | ||
---|---|---|---|
Blogs(service:FlickrService)
Construct a new Blogs "method group" class
| Blogs | ||
getList():void
Get a list of configured blogs for the calling user.
| Blogs | ||
postPhoto(blog_id:String, photo_id:String, title:String, description:String, blog_password:String = ""):void
Posts a photo to a flickr blog.
| Blogs |
Event | Summary | Defined by | ||
---|---|---|---|---|
Broadcast as a result of the getList method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "blogs" array of Blog instances When success is false, contains an "error" FlickrError instance | Blogs | |||
Broadcast as a result of the postPhoto method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an empty object When success is false, contains an "error" FlickrError instance | Blogs |
Blogs | () | constructor |
public function Blogs(service:FlickrService)
Construct a new Blogs "method group" class
Parametersservice:FlickrService — The FlickrService this method group
is associated with.
|
getList | () | method |
public function getList():void
Get a list of configured blogs for the calling user. This method requires authentication with READ permission.
See also
postPhoto | () | method |
public function postPhoto(blog_id:String, photo_id:String, title:String, description:String, blog_password:String = ""):void
Posts a photo to a flickr blog. This method requires authentication with WRITE permission.
Parametersblog_id:String — The id of the blog to post to
|
|
photo_id:String — The id of the photo to blog
|
|
title:String — The blog post title
|
|
description:String — The blog post body
|
|
blog_password:String (default = " ") — (Optional) The password for the blog (used when the blog does not have a stored password)
|
See also
blogsGetList | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the getList method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, contains a "blogs" array of Blog instances When success is false, contains an "error" FlickrError instance
See also
blogsPostPhoto | event |
com.adobe.webapis.flickr.events.FlickrResultEvent
Broadcast as a result of the postPhoto method being called The event contains the following properties success - Boolean indicating if the call was successful or not data - When success is true, an empty object When success is false, contains an "error" FlickrError instance
See also