Package | com.myflashlab.air.extensions.fb |
Class | public class Graph |
Inheritance | Graph flash.events.EventDispatcher |
Facebook.graph
. This class will use the current
accessToken if available.
Method | Defined By | ||
---|---|---|---|
call($url:String, $urlRequestMethod:String, $urlVariables:URLVariables, $callback:Function):void
Use this method to request for information from Facebook graph API
read here for detailed information about how you should use the graph:
https://developers.facebook.com/docs/graph-api/using-graph-api/
| Graph |
call | () | method |
public function call($url:String, $urlRequestMethod:String, $urlVariables:URLVariables, $callback:Function):void
Use this method to request for information from Facebook graph API
read here for detailed information about how you should use the graph: https://developers.facebook.com/docs/graph-api/using-graph-api/
Parameters
$url:String — The address on the graph which you wish to connect to, for example https://graph.facebook.com/v2.12/me
| |
$urlRequestMethod:String — can be URLRequestMethod.GET for example
| |
$urlVariables:URLVariables — can be new URLVariables("fields=name,email,picture&metadata=0") for example
| |
$callback:Function — expects two parameters.
|