Difference between revisions of "Facebook:graphRequest"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09<br/>
+
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Makes a request to the Graph API.<br />
 
Makes a request to the Graph API.<br />
Line 8: Line 8:
 
  Facebook:graphRequest(graphPath,paramaters,method)
 
  Facebook:graphRequest(graphPath,paramaters,method)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''graphPath''': (string) <translate>The path to the Graph API endpoint. For example, to fetch data about the currently logged in user this parameter should be &#039;&#039;me&#039;&#039;, representing a call to the https://graph.facebook.com/me endpoint.</translate> <br/>
 
'''graphPath''': (string) <translate>The path to the Graph API endpoint. For example, to fetch data about the currently logged in user this parameter should be &#039;&#039;me&#039;&#039;, representing a call to the https://graph.facebook.com/me endpoint.</translate> <br/>
 
'''paramaters''': (table, optional) <translate>Table representing the API call parameters.</translate> <br/>
 
'''paramaters''': (table, optional) <translate>Table representing the API call parameters.</translate> <br/>
 
'''method''': (string, optional) <translate>HTTP method.</translate> <br/>
 
'''method''': (string, optional) <translate>HTTP method.</translate> <br/>

Revision as of 07:30, 24 August 2018

Available since: Gideros 2012.09

Description


Makes a request to the Graph API.

 Facebook:graphRequest(graphPath,paramaters,method)

Parameters

graphPath: (string) The path to the Graph API endpoint. For example, to fetch data about the currently logged in user this parameter should be ''me'', representing a call to the https://graph.facebook.com/me endpoint.
paramaters: (table, optional) Table representing the API call parameters.
method: (string, optional) HTTP method.