开发者

Inviting friends to play a game in a facebook app

开发者 https://www.devze.com 2023-02-04 05:18 出处:网络
I have a multiplayer game for the facebook platform and I would like to give users the ability to invite their friends to play a game. I know how to let user invite their friends to add my application

I have a multiplayer game for the facebook platform and I would like to give users the ability to invite their friends to play a game. I know how to let user invite their friends to add my application but what I don't know is how to let users ask friends to join a game. Note that this happens after the friend has ad开发者_运维百科ded my application. Is there an API to do this real time communication in FB? Or should I install my own chat mechanism? I don't want to write something if its already there.

Thanks for any information. It would really save me a lot of trouble.

  • Pav


If I understand your question correctly, you have two friends A & B who have added your application and actively interacting with it (in-game) and you want A to be able to invite (in terms of multiplayer games not Facebook) B to join the match or party?

If this is your question then NO, you can't!
As long as both friends have authenticated your App and in-game (you should be able to capture who's online and the relation between the online users, friends or not, easily I suppose), it's up to you (App) to handle the communication between the online users.

0

精彩评论

暂无评论...
验证码 换一张
取 消