Superatons Posted April 25, 2020 Share Posted April 25, 2020 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 Quote Link to comment Share on other sites More sharing options...
Superatons Posted April 27, 2020 Author Share Posted April 27, 2020 help me Quote Link to comment Share on other sites More sharing options...
Noel Posted April 28, 2020 Share Posted April 28, 2020 @Superatons, probably someone from the developer community could help you: https://www.facebook.com/groups/instantgamedevelopers/ Quote Link to comment Share on other sites More sharing options...
momcina Posted April 28, 2020 Share Posted April 28, 2020 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.