When the player finish and he make like 45 point, how I make to him share it on facebook or twiitter?
"message &highscore&"
Sorry, where I put this?
Develop games in your browser. Powerful, performant & highly capable.
have you try this tuto
https://www.scirra.com/tutorials/908/facebook-share-button-php
https://www.scirra.com/tutorials/927/twitter-share-tweet-button-browser-object
have you try this tuto https://www.scirra.com/tutorials/908/facebook-share-button-php https://www.scirra.com/tutorials/927/twitter-share-tweet-button-browser-object
Oh, thanks!!
Tasso
You can also read this thread https://www.scirra.com/forum/viewtopic.php?f=147&t=148780&p=946019
MadSpy the tuto of twitter helped me, but I couldn't do the facebook one, i don't know php and didn't find any site to put the share.php file! But thank you it helped me!
facebook plugin has action "Prompt wall post"; it doesn't work on your project?
what is facebook plugin? I never tried to do this.
https://www.scirra.com/manual/112/facebook
I did:
Mouse: On left button clicked Facebook: Log in (request Pubish to stream, none)
on Sprite26: Facebook: Publish Link (All the stuff here).
But when I click on the Sprite26 in game nothing happens ;-;
could you send a screen of your code?
https://www.dropbox.com/s/sjdjlhs8d65zi01/face.png?dl=0
try using "Prompt to share link" instead of "Publish Link"
you must test before (with condition event) if the plugin is ready and if the player is logged on facebook
I make the 3 conditions (Is ready, is user logged in and On mouse clicked) in the same conditions in sub events or separated conditions?