Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I'm not using Corona SDk, but what I found is the following:</p> <p>You could use the <em>facebook.request()</em> function (<a href="http://docs.coronalabs.com/api/library/facebook/request.html" rel="nofollow">http://docs.coronalabs.com/api/library/facebook/request.html</a>) to make a request to the Facebook Graph API. </p> <p>Assuming that you already gathered the relevant permission ("publish_actions") from the user for your app, you could make use of the Scores API (<a href="https://developers.facebook.com/docs/score/" rel="nofollow">https://developers.facebook.com/docs/score/</a>) and the Achievements API (<a href="https://developers.facebook.com/docs/games/achievements/" rel="nofollow">https://developers.facebook.com/docs/games/achievements/</a>) to post to the Users timeline like described here:</p> <p><a href="https://developers.facebook.com/blog/post/539/" rel="nofollow">https://developers.facebook.com/blog/post/539/</a></p> <p>You can post a score like this:</p> <pre><code>facebook.request("https://graph.facebook.com/me/scores?score=USER_SCORE&amp;access_token=APP_ACCESS_TOKEN", "POST") </code></pre> <p>where USER_SCORE is the actual score and APP_ACCESS_TOKEN is the App Access Token for you app.</p> <p>For achievements, you have to create an achievement first, as described in the above links. Once this is done, you can can post an achievement like this:</p> <pre><code>facebook.request("https://graph.facebook.com/me/achievements?achievement=YOUR_ACHIEVEMENT_URL&amp;access_token=APP_ACCESS_TOKEN", "POST") </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload