Difference between revisions of "Facebook:graphRequest"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 7: Line 7:
 
Makes a request to the Graph API.<br />
 
Makes a request to the Graph API.<br />
 
<br /></translate>
 
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
  Facebook:graphRequest(graphPath,paramaters,method)
 
  Facebook:graphRequest(graphPath,paramaters,method)
 
</source>
 
</source>

Revision as of 14:28, 13 July 2023


Available since: Gideros 2012.09
Class: Facebook

Description


Makes a request to the Graph API.

<syntaxhighlight lang="lua">

Facebook:graphRequest(graphPath,paramaters,method)

</source>

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.