How could I implement a random game for iOS via Facebook. I registered my game with Facebook and done everything so far... Can Facebook do such a thing?


I connected my app to Facebook, I can send requests, publish open graphs etc. But i need to connect players to play online via Facebook, such as Bubble Galaxy with Buddies. Do they use Facebook for this? Any tutorial or idea ?

  • \$\begingroup\$ A quick google search turned up this tutorial for developing a simple facebook integrated ios app, so it is apparently possible. \$\endgroup\$ – Gigggas Jan 22 '13 at 7:50
  • \$\begingroup\$ i have done everything from that tutorial \$\endgroup\$ – Mutawe Jan 22 '13 at 8:00
  • \$\begingroup\$ What are you trying to do? Your question is really vague. \$\endgroup\$ – bummzack Jan 22 '13 at 8:03
  • \$\begingroup\$ i will edit my question \$\endgroup\$ – Mutawe Jan 22 '13 at 8:08
  • \$\begingroup\$ i edited my question @bummzack \$\endgroup\$ – Mutawe Jan 22 '13 at 8:29

Last time I used the Facebook API they didn't provide any multiplayer or gameplay functionality. I'm pretty sure you have to write that yourself.

You can still leverage the Facebook API to publish scores/achievements and find friends of a user. Eg. You can get the user-names, profile pictures from FB and also use the Facebook API to post something on the users wall to draw more attention to your game. Achievements and scores are also a part of the Facebook API now.

The tutorial you followed is pretty much all there is to it. Facebook gives you the "social" data of users, everything else is up to you.

To find friends for a multi-player game (as your question suggests), you could use the FB API to find the friends of a user which are currently online and send a request. Your server-application will have to handle the creation of a multi-player session when requests are being accepted.

  • \$\begingroup\$ Wonderful answer \$\endgroup\$ – Mutawe Jan 22 '13 at 13:02

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.