Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

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?

EDIT

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 ?

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

1 Answer

up vote 2 down vote accepted

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.

share|improve this answer
    
Wonderful answer –  Mutawe Jan 22 '13 at 13:02
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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