Package | com.distriqt.extension.facebookapi.graphapi |
Interface | public interface GraphAPIRequest extends flash.events.IEventDispatcher |
Represents a request that can be made to the Graph API
You should use the GraphAPIRequestBuilder
to create instances of this class.
See also
Property | Defined By | ||
---|---|---|---|
fields : Array | GraphAPIRequest | ||
image : BitmapData | GraphAPIRequest | ||
method : String | GraphAPIRequest | ||
onComplete : Function [write-only]
Complete callback function
| GraphAPIRequest | ||
onError : Function [write-only]
Error callback function
| GraphAPIRequest | ||
params : Object | GraphAPIRequest | ||
paramsJSON : String [read-only]
Internal usage
| GraphAPIRequest | ||
path : String | GraphAPIRequest |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when a graph API request completed. | GraphAPIRequest | |||
Dispatched when there was an error returned from a Graph API request | GraphAPIRequest |
fields | property |
fields:Array
public function get fields():Array
public function set fields(value:Array):void
image | property |
image:BitmapData
public function get image():BitmapData
public function set image(value:BitmapData):void
method | property |
method:String
public function get method():String
public function set method(value:String):void
onComplete | property |
onComplete:Function
[write-only] Complete callback function
public function set onComplete(value:Function):void
onError | property |
onError:Function
[write-only] Error callback function
public function set onError(value:Function):void
params | property |
params:Object
public function get params():Object
public function set params(value:Object):void
paramsJSON | property |
paramsJSON:String
[read-only] Internal usage
public function get paramsJSON():String
path | property |
path:String
public function get path():String
public function set path(value:String):void
facebookapi:graphapirequest:complete | Event |
com.distriqt.extension.facebookapi.events.GraphAPIRequestEvent
com.distriqt.extension.facebookapi.events.GraphAPIRequestEvent.COMPLETE
Dispatched when a graph API request completed.
The event data field will be an object that was parsed from the JSON response of the graph API request.
You should check the documentation of the Facebook Graph API to see what data you can expect to be returned here.
facebookapi:graphapirequest:error | Event |
com.distriqt.extension.facebookapi.events.GraphAPIRequestEvent
com.distriqt.extension.facebookapi.events.GraphAPIRequestEvent.ERROR
Dispatched when there was an error returned from a Graph API request