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...")
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2012.09<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' Gideros 2012.09<br/>
<br />
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Facebook|Facebook]]<br/>
 +
=== <translate>Description</translate> ===
 +
<translate><br />
 
Makes a request to the Graph API.<br />
 
Makes a request to the Graph API.<br />
<br />
+
<br /></translate>
<source lang="lua">
+
<syntaxhighlight lang="lua">
= Facebook:graphRequest(graphPathparamatersmethod,)
+
Facebook:graphRequest(graphPath,paramaters,method)
</source>
+
</syntaxhighlight>
'''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/>
+
=== <translate>Parameters</translate> ===
'''paramaters:''' (table, optional) Table representing the API call parameters. ''''''<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/>
'''method:''' (string, optional) HTTP method. ''''''<br/>
+
'''paramaters''': (table, optional) <translate>Table representing the API call parameters.</translate> <br/>
 +
'''method''': (string, optional) <translate>HTTP method.</translate> <br/>

Latest revision as of 14:29, 13 July 2023


Available since: Gideros 2012.09
Class: Facebook

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.