Packagecom.facebook.graph.data.api.thread
Classpublic class FacebookThread
InheritanceFacebookThread Inheritance AbstractFacebookGraphObject

A message thread in the new Facebook messaging system.

See also

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


Public Properties
 PropertyDefined by
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  message_count : int
Number of messages in the thread.
FacebookThread
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
  snippet : String
Fragment of the thread for use in thread lists.
FacebookThread
  tags : Array
Thread tags.
FacebookThread
  unread_count : int
Number of unread messages in the thread.
FacebookThread
  updated_time : Date
Timestamp of when the thread was last updated.
FacebookThread
Public Methods
 MethodDefined by
  
Creates a new FacebookThread.
FacebookThread
  
fromJSON(result:Object):FacebookThread
[static] Populates and returns a new FacebookThread from a decoded JSON object.
FacebookThread
  
toString():String
Provides the string value of the graph object.
FacebookThread
Protected Methods
 MethodDefined by
  
setPropertyValue(property:String, value:*):void
FacebookThread
Property detail
message_countproperty
public var message_count:int

Number of messages in the thread.

snippetproperty 
public var snippet:String

Fragment of the thread for use in thread lists.

tagsproperty 
public var tags:Array

Thread tags.

unread_countproperty 
public var unread_count:int

Number of unread messages in the thread.

updated_timeproperty 
public var updated_time:Date

Timestamp of when the thread was last updated.

Constructor detail
FacebookThread()constructor
public function FacebookThread()

Creates a new FacebookThread.

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

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

Parameters
result:Object — A decoded JSON object.

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