Jump to content


Photo

Retrieve Scores from HTML5 for facebook publishing


  • Please log in to reply
4 replies to this topic

#1 Frankencost

Frankencost

    GMC Member

  • GMC Member
  • 38 posts
  • Version:Unknown

Posted 10 August 2012 - 12:29 AM

Hi Guys,

Is there a way to retrieve score from a GM HTML5 game so the score can be shared on Facebook? I mean, if I make a game with GM HTML and want to publish results, high scores or similar using the Facebook API would it be possible with a GM game? I know I could need the help of a second programming languaje such PHP or JavaScript but I would like to know if this is something doable, probably playing with the score variable..

Thanks a lot for your help! :thumbsup:
  • 0

#2 The2Banned2One

The2Banned2One

    BANNED

  • GMC Member
  • 225 posts
  • Version:GM:Studio

Posted 10 August 2012 - 12:58 AM

It is definitely doable. Here is a forum post with an example.
Also please do not double post. I see that you created the exact same topic here.
  • 0

#3 Sir

Sir

    Jedi Poodoo

  • GMC Member
  • 383 posts
  • Version:GM:Studio

Posted 10 August 2012 - 12:59 AM

The only way I could think of is having a php script do the uploading to FB from a txt file dynamically stored on the server that the game creates when the user wants it to, then calling the PHP script with the name/location of the txt file and posting it to FB.

Aside from that, theres no reason why it "shouldnt" work. :thumbsup:
  • 0

#4 Frankencost

Frankencost

    GMC Member

  • GMC Member
  • 38 posts
  • Version:Unknown

Posted 10 August 2012 - 01:09 AM

Thank you guys, I really appreciate your response; and I'm really sorry for the double posting, my browser got stuck and by refreshing it the info was posted twice, won't happen again! Cheers :thumbsup:
  • 0

#5 Takagi

Takagi

    GMC Member

  • Global Moderators
  • 4106 posts
  • Version:GM8

Posted 10 August 2012 - 02:56 PM

Social:GM
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users