Jump to content

Facebook instant multiplayer games with socket.io


Superatons
 Share

Recommended Posts

we have a turn game and we use socket.io so it can be multiplayer, we came up with the idea of making it as an instantaneous game on facebook, then we investigate and we found this link https://developers.facebook.com/docs/games/instant-games/guides/play-friends y con este https://developers.facebook.com/docs/games/instant- the problem is that we have no idea how to implement it with socket.io

Link to comment
Share on other sites

You can use FB API to get a list of all FB friend who are playing your game. Also you will have their player id provided by FB API. Then you should add some more logic to your backend server to place those friends in same game room (I presume you have multiple rooms for players). Maybe it is useful to check all those Ludo games on FB IG platform. They have master this topic very well.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...