Packagecom.myflashlab.air.extensions.fb
Classpublic class Graph
InheritanceGraph Inheritance flash.events.EventDispatcher

Access the Facebook Graph API with this class via Facebook.graph. This class will use the current accessToken if available.



Public Methods
 MethodDefined 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
Method Detail
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.
  • $dataStr:String
  • $graphRequest:String