Packagecom.facebook.graph.data.api.subscription
Classpublic class FacebookSubscription
InheritanceFacebookSubscription Inheritance AbstractFacebookGraphObject

A subscription to an application to get real-time updates for an Graph object type.

See also

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


Public Properties
 PropertyDefined by
  active : Boolean
Whether or not the subscription is active or not.
FacebookSubscription
  callback_url : String
An endpoint on your domain which can handle the real-time notifications.
FacebookSubscription
  fields : Array
The list of fields for the object type.
FacebookSubscription
 Inheritedid : String
The unique ID for the graph object.
AbstractFacebookGraphObject
  object : String
The object type to subscribe to.
FacebookSubscription
 InheritedrawResult : Object
The raw decoded JSON result data for the graph object.
AbstractFacebookGraphObject
Public Methods
 MethodDefined by
  
Creates a new FacebookSubscription.
FacebookSubscription
  
[static] Populates and returns a new FacebookSubscription from a decoded JSON object.
FacebookSubscription
  
toString():String
Provides the string value of the graph object.
FacebookSubscription
Property detail
activeproperty
public var active:Boolean

Whether or not the subscription is active or not.

callback_urlproperty 
public var callback_url:String

An endpoint on your domain which can handle the real-time notifications.

fieldsproperty 
public var fields:Array

The list of fields for the object type.

objectproperty 
public var object:String

The object type to subscribe to.

Constructor detail
FacebookSubscription()constructor
public function FacebookSubscription()

Creates a new FacebookSubscription.

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

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

Parameters
result:Object — A decoded JSON object.

Returns
FacebookSubscription — A new FacebookSubscription.
toString()method 
public override function toString():String

Provides the string value of the graph object.

Returns
String — The string value of the graph object.