0

Hi i am building an android game using cocos2d js v3...

I want to share the users high score to whatsapp,facebook,twitter,through email or any such sharing options...

Is there any plugin available for the same and how to implement it...

Any help regarding this would be greatful. Thanks.

kaushik reddy
  • 167
  • 3
  • 16
  • This should get you started: http://www.cocos2d-x.org/wiki/Facebook – Sebastián Vansteenkiste Mar 23 '15 at 21:36
  • I will try that...But what about other sharing options such as WhatsApp twitter email hike or any such installed application?? @ Sebastián Vansteenkiste – kaushik reddy Mar 24 '15 at 01:34
  • The links to setup Facebook integration in the page u provided do not exist!..How do I proceed??? @ Sebastián Vansteenkiste – kaushik reddy Mar 24 '15 at 04:54
  • Whoops! Sorry. The Facebook API docs seem to have moved here: http://www.cocos2d-x.org/wiki/Facebook_API_References_in_JavaScript . As to how to share with other apps.. I'm not really sure, sorry. I can at least say that for twitter it's as easy as opening a link in JS, like this: `window.open('http://twitter.com/home?status=' +encodeURIComponent('Your default tweet text @someone #something here'),'_blank');` – Sebastián Vansteenkiste Mar 25 '15 at 02:33

0 Answers0