Friend Matchmaking through buddy service

0 votes
Hi we are making an online multiplayer game using appwarp and app42 with unity.

We want to send game request to our facebook friends and by game requests we mean that we want to challenge them to an online match.

Note that the players could be both online or offline.

So what would be the best approach to achieve that?
asked Oct 17, 2015 in App42PaaS & BPaaS by jibran (10 points)

1 Answer

0 votes
Hello Jibran,

You can use Push Notification with the room_id in the message to your friend. When he chooses to play with you, internally using room_id the game will join him in the same room you are.

Let me know if it helps.

Thanks.
answered Oct 18, 2015 by rajeev.etc (1,660 points)
How do I send the room id without it displaying with the msg in the notifcation
You just need to add an key for room_id in the push payload as follows:
{"alert":"Your message here!","badge":1,"sound":"default","room_id":"your_room id here"}

The room_id will not be displayed in the notification and the same can be fetched from the corresponding push received delegate methods.

Let me know if it helps.
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...