Social network score sharing Facebook twitter for android

Hello friends

i am going to launch my new game so soon i have few question if you will answer then it will be great help to me

1 i know on ios there is tweet sheet does it work on android if not then is there any other way?

2 Facebook sharing work on ios and android?

3 my game is ready for iphone now what changes should i need to make in project to run it on android devices ?

thanks
Please let me know your any suggestion is highly appreciated

Comments

  • imjustmikeimjustmike Member Posts: 450
    Well there isn't built in support, but both facebook and twitter allow url based posting which you can use the with open url behaviour.

    For example, creating an actor that that the openurl behaviour linking to twitter.com/?status=I+just+beat+my+highscore would load the browser, and if the user was logged in, create a tweet that said I just beat my highscore. You can try it yourself by pasting it into your browser.

    Facebook also has similar behaviour using a now deprecated function called sharer.

    If you were going to use either of these, I'd highly recommend you include a link to you game - both facebook and twitter pull in data from sites like google playstore and the app store. A simple rule to check which os the user was running (based on screen size) would mean they link to the right store.
  • imjustmikeimjustmike Member Posts: 450
    Did a little bit more digging into the facebook's sharing url (sharer.php) and it turns out that you can't do a huge amount of customisation on the mobile version of the facebook site, you can only share a URL, which rules out score sharing - you can override users going to the mobile site and force them to load the full site, but I wouldn't recommend it.
  • Hello Mike

    thank you for your answers so the conclusion is tweet sheet can be used in both ios and android but for facebook we need to use sharer.php but with this we can only share text and not score

    And one last question my iphone game is ready what changes should i make in it so it runs perfectly on android devices? and is there any way to monitize my android game i heard there are some html5 ads which can be used for android?

    i will wait for your reply

    thank you again


  • FetaboyFetaboy Member, PRO Posts: 191
    edited February 2014
    Facebook recently stopped supporting sharer.php (although it should still work for awhile). You can use their dialog feed, detail here (look at the URL redirection part): https://developers.facebook.com/docs/reference/dialogs/feed/

    It allows much more customization than sharer.php anyways. In addition, if you have access to the nightly builds, you could use expressions in the url to post scores, etc.

    Edit: The downside to this over a true integration, is that the user has to first login to Facebook via the embedded browser before being able to post.
Sign In or Register to comment.