Packagecom.adobe.webapis.flickr.methodgroups
Classpublic class Blogs

Contains the methods for the Blogs method group in the Flickr API. Even though the events are listed here, they're really broadcast from the FlickrService instance itself to make using the service easier.



Public Methods
 MethodDefined by
  
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
Events
 EventSummaryDefined 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
Constructor detail
Blogs()constructor
public function Blogs(service:FlickrService)

Construct a new Blogs "method group" class

Parameters
service:FlickrService — The FlickrService this method group is associated with.
Method detail
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.

Parameters
blog_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

Event detail
blogsGetListevent 
Event object type: 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

getList
com.adobe.service.flickr.FlickrError
blogsPostPhotoevent  
Event object type: 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

postPhoto
com.adobe.service.flickr.FlickrError