Difference between revisions of "Facebook:graphRequest"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Makes a request to the Graph API.<br /> <br /> <source lang="lua"> = Facebook:graphRequest(gra...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= Facebook:graphRequest(graphPathparamatersmethod,)
+
Facebook:graphRequest(graphPath,paramaters,method)
 
</source>
 
</source>
'''graphPath:''' (string) 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. ''''''<br/>
+
'''graphPath''': (string) 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. ''''''<br/>
'''paramaters:''' (table, optional) Table representing the API call parameters. ''''''<br/>
+
'''paramaters''': (table, optional) Table representing the API call parameters. ''''''<br/>
'''method:''' (string, optional) HTTP method. ''''''<br/>
+
'''method''': (string, optional) HTTP method. ''''''<br/>

Revision as of 11:17, 23 August 2018

Available since: Gideros 2012.09

Description


Makes a request to the Graph API.

 Facebook:graphRequest(graphPath,paramaters,method)

'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. '