I am thinking about the way to achieve play with facebook friends feature.
How to play with the facebook invited friends?
Invitation goes with some room code data and upon accepting invitation user can join and play with friend.
For friends which are online I can use smartfoxserver.
But what about offline friend? How to send push notification to offline friends with room code data?
Thanks.
Play with facebook invited friends
- khokhani1510
- Posts: 17
- Joined: 06 Feb 2014, 11:08
- Location: Gujarat, India
- Contact:
Re: Play with facebook invited friends
Hi,
most of this functionality should be based on FB API, I think.
For example the push notification should be sent via FB Messenger API and you could send a reference to a specific Game Room (be it it's ID or name, since it's unique). You may also need to send the Zone name, if you're hosting multiple Zones in SFS2X.
When the users receives it he should be able to use those parameters to connect to SFS2X, login in the right Zone and join the Room.
Cheers
most of this functionality should be based on FB API, I think.
For example the push notification should be sent via FB Messenger API and you could send a reference to a specific Game Room (be it it's ID or name, since it's unique). You may also need to send the Zone name, if you're hosting multiple Zones in SFS2X.
When the users receives it he should be able to use those parameters to connect to SFS2X, login in the right Zone and join the Room.
Cheers
- khokhani1510
- Posts: 17
- Joined: 06 Feb 2014, 11:08
- Location: Gujarat, India
- Contact:
Re: Play with facebook invited friends
Thanks for your quick reply.
Who is online
Users browsing this forum: No registered users and 42 guests