ShiVa3D
Post score to Facebook
All about the StoneScriptPost score to Facebook
by eried » 18 Jun 2012, 20:47
Anyway to quicly post the score to facebook? thanks!
- eried
- Fresh Boarder

- Posts: 15
Re: Post score to Facebook
by _geo_ » 18 Jun 2012, 22:24
A relatively fast way would be to include the facebook SDK (native code hookups) but use it only to retrieved the access token for your user (aka login/authentication).
Using the token you can post the score on facebook using shivas built in cache.add(https://graph.facebook.com/...) + facebooks https Graph API. The good thing is that you don´t rely too much on the crappy facebook sdk implementations out there (they mostly are buggy and/or incomplete).
The token usually is valid for quite some time, thus you can easily debug your facebook stuff directly in the edior by simply saving the token to fake a successful login process.
I have done this quite often and it served me well. Hope this helps
Using the token you can post the score on facebook using shivas built in cache.add(https://graph.facebook.com/...) + facebooks https Graph API. The good thing is that you don´t rely too much on the crappy facebook sdk implementations out there (they mostly are buggy and/or incomplete).
The token usually is valid for quite some time, thus you can easily debug your facebook stuff directly in the edior by simply saving the token to fake a successful login process.
I have done this quite often and it served me well. Hope this helps
Re: Post score to Facebook
by vklymenko » 18 Jun 2012, 22:54
http://www.stonetrip.com/developer/wiki/index.php?title=Facebook_iOS_SDK
this will help you ; )
instead "your message here!" in the code - you may put your scores and submit to facebook's wall.
this will help you ; )
instead "your message here!" in the code - you may put your scores and submit to facebook's wall.
4 posts
• Page 1 of 1

