Jump to content


Photo

Facebook integration


  • Please log in to reply
7 replies to this topic

#1 Pedrogabriel

Pedrogabriel

    GMC Member

  • New Member
  • 9 posts

Posted 28 May 2012 - 07:10 AM

So, today I found all new functions in gm:studio, so I noticed a few functions about facebook.
But how it work?
I know we need an app id (I made one facebook app just for testing porpouse)
but always return an error if I try to use facebook_login, when I try using facebook_status() return 0 so, how to use it?
Someone already know?
Thanks for reading.

Edited by Pedrogabriel, 29 May 2012 - 02:50 AM.

  • 0

#2 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 218 posts
  • Version:GM:HTML5

Posted 28 May 2012 - 09:15 AM

I don't have my copy of Studio working yet, do to launch day bugs messing up with the licensing, but I do know to make Facebook games you have to have them hosted somewhere that allows a certain type of security coding which Facebook now requires. Not every host you find can handle that.

You have to look around on Facebook to see the information, they sure to have a tutorial somewhere.
  • 0

#3 Pedrogabriel

Pedrogabriel

    GMC Member

  • New Member
  • 9 posts

Posted 29 May 2012 - 02:49 AM

So, I made a Heroku app using Facebook (PHP) (you can see it in here https://gmteste.herokuapp.com/)
and I Made a local test as they said, it works as well. But theres nothing where says how to use Facebook and Game Maker together, I just use init with appID and what now?
just put generated html file in the same folder as "server" doesn't work, how exactly I'm supposed to do it?
  • 0

#4 Wolf Dreamer

Wolf Dreamer

    GMC Member

  • GMC Member
  • 218 posts
  • Version:GM:HTML5

Posted 29 May 2012 - 07:35 AM

http://developers.fa.../guides/canvas/

http://developers.fa...s/guides/games/

You have to create a page on Facebook, I believe listing it as a business, not personal, and then link to where you have uploaded your app at. And it has to allow SSI security settings, or whatever its called, for it to work.
  • 0

#5 Pedrogabriel

Pedrogabriel

    GMC Member

  • New Member
  • 9 posts

Posted 29 May 2012 - 05:03 PM

I made a "app" but flash games are made using canvas, I think they call the game from external website and put inside of this canvas (exactly as I've made)
No one know exactly how it works right? :<

Thanks for all your answers anyway.
  • 0

#6 Shadow10

Shadow10

    GMC Member

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

Posted 12 June 2012 - 12:06 AM

and for those that don't want to make a HTML game and yes a Android game, how to use these functions?
anybody knows?
  • 0

#7 SLarouche

SLarouche

    GMC Member

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

Posted 12 June 2012 - 12:58 AM

and for those that don't want to make a HTML game and yes a Android game, how to use these functions?
anybody knows?


There is a Facebook Tutorial in the Tutorial section for Android and iOS.

Smon
  • 0

#8 Shadow10

Shadow10

    GMC Member

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

Posted 12 June 2012 - 02:41 AM

Thanks SLarouche!
**Edit**
I haven't found...
Show me the link!

Edited by Shadow10, 12 June 2012 - 07:00 AM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users