Packagecom.facebook.graph.data.api.comment
Classpublic class FacebookComment
InheritanceFacebookComment Inheritance AbstractFacebookGraphObject

A comment on a Graph API object.

See also

http://developers.facebook.com/docs/reference/api/comment


Public Properties
 PropertyDefined by
  created_time : Date
The timedate the comment was created.
FacebookComment
  from : FacebookUser
The user that created the comment.
FacebookComment
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  likes : Number
The number of times this comment was liked.
FacebookComment
  message : String
The comment text.
FacebookComment
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
Public Methods
 MethodDefined by
  
Creates a new FacebookComment.
FacebookComment
  
fromJSON(result:Object):FacebookComment
[static] Populates and returns a new FacebookComment from a decoded JSON object.
FacebookComment
  
toString():String
Provides the string value of the graph object.
FacebookComment
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookComment
Property detail
created_timeproperty
public var created_time:Date

The timedate the comment was created.

fromproperty 
public var from:FacebookUser

The user that created the comment.

likesproperty 
public var likes:Number

The number of times this comment was liked.

messageproperty 
public var message:String

The comment text.

Constructor detail
FacebookComment()constructor
public function FacebookComment()

Creates a new FacebookComment.

Method detail
fromJSON()method
public static function fromJSON(result:Object):FacebookComment

Populates and returns a new FacebookComment from a decoded JSON object.

Parameters
result:Object — A decoded JSON object.

Returns
FacebookComment — A new FacebookComment.
setPropertyValue()method 
protected override function setPropertyValue(property:String, value:*):void

Parameters
property:String
 
value:*
toString()method 
public override function toString():String

Provides the string value of the graph object.

Returns
String — The string value of the graph object.