Packagecom.facebook.graph.data.api.message
Classpublic class FacebookMessage
InheritanceFacebookMessage Inheritance AbstractFacebookGraphObject

An individual message in the new Facebook messaging system.

See also

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


Public Properties
 PropertyDefined by
  created_time : Date
A timestamp of when this message was created.
FacebookMessage
  from : FacebookUser
The sender of this message.
FacebookMessage
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  message : String
The text of the message.
FacebookMessage
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
  to : Array
A list of the message recipients.
FacebookMessage
Public Methods
 MethodDefined by
  
Creates a new FacebookMessage.
FacebookMessage
  
fromJSON(result:Object):FacebookMessage
[static] Populates and returns a new FacebookMessage from a decoded JSON object.
FacebookMessage
  
toString():String
Provides the string value of the graph object.
FacebookMessage
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookMessage
Property detail
created_timeproperty
public var created_time:Date

A timestamp of when this message was created.

fromproperty 
public var from:FacebookUser

The sender of this message.

messageproperty 
public var message:String

The text of the message.

toproperty 
public var to:Array

A list of the message recipients.

Constructor detail
FacebookMessage()constructor
public function FacebookMessage()

Creates a new FacebookMessage.

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

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

Parameters
result:Object — A decoded JSON object.

Returns
FacebookMessage — A new FacebookMessage.
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.