prateek.pradeep Posted May 21, 2014 Share Posted May 21, 2014 Hi,how to implement the share score feature using facebook?Also if anyone can tell me how do i implement the rate my app functionality. I am using phaser and cocoon js to launch my game on app store of play and app store. please help me with code. Link to comment Share on other sites More sharing options...
lewster32 Posted May 21, 2014 Share Posted May 21, 2014 how to implement the share score feature using facebook? Use the Facebook JavaScript SDK to work with the Scores API: https://developers.facebook.com/docs/games/scores Link to comment Share on other sites More sharing options...
prateek.pradeep Posted May 25, 2014 Author Share Posted May 25, 2014 Use the Facebook JavaScript SDK to work with the Scores API: https://developers.facebook.com/docs/games/scores i am not able to get it right. Please help me.I am using Coccon + Phaser.On click of button share button i do not know what should i do.I have tried this link but i am not able to get it.Please can you provide me any code????? Link to comment Share on other sites More sharing options...
lewster32 Posted May 25, 2014 Share Posted May 25, 2014 Implementing the Facebook JavaScript API is a rather involved process that assumes you know a little bit about REST APIs and ajax. Probably the best course of action is to look for tutorials on how to implement it, such as this one. Link to comment Share on other sites More sharing options...
prateek.pradeep Posted May 25, 2014 Author Share Posted May 25, 2014 Implementing the Facebook JavaScript API is a rather involved process that assumes you know a little bit about REST APIs and ajax. Probably the best course of action is to look for tutorials on how to implement it, such as this one. Will this work on iOS (using cocoonJs) ?? Link to comment Share on other sites More sharing options...
lewster32 Posted May 25, 2014 Share Posted May 25, 2014 I've no idea, it depends how much of the underlying HTML engine is exposed to Cocoon apps. It's certainly possible with standard mobile web apps. Link to comment Share on other sites More sharing options...
prateek.pradeep Posted May 26, 2014 Author Share Posted May 26, 2014 Shit!!! Link to comment Share on other sites More sharing options...
Recommended Posts