Package | com.distriqt.extension.facebook.graphapi |
Interface | public interface GraphRequest extends flash.events.IEventDispatcher |
Represents a request that can be made to the Graph API
You should use the GraphRequestBuilder
to create instances of this class.
See also
Property | Defined By | ||
---|---|---|---|
fields : Array | GraphRequest | ||
image : BitmapData | GraphRequest | ||
method : String | GraphRequest | ||
onComplete : Function [write-only]
Complete callback function
| GraphRequest | ||
onError : Function [write-only]
Error callback function
| GraphRequest | ||
params : Object | GraphRequest | ||
paramsJSON : String [read-only]
Internal usage
| GraphRequest | ||
path : String | GraphRequest |
Event | Summary | Defined By | ||
---|---|---|---|---|
Dispatched when a graph API request completed. | GraphRequest | |||
Dispatched when there was an error returned from a Graph API request | GraphRequest |
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
facebook_graphrequest_complete | Event |
com.distriqt.extension.facebook.graphapi.events.GraphRequestEvent
com.distriqt.extension.facebook.graphapi.events.GraphRequestEvent.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.
facebook_graphrequest_error | Event |
com.distriqt.extension.facebook.graphapi.events.GraphRequestEvent
com.distriqt.extension.facebook.graphapi.events.GraphRequestEvent.ERROR
Dispatched when there was an error returned from a Graph API request