Invite facebook friends that are offline

0 votes

I learnt from the link below that we can invite friends from  facebook who are online to play a multiplayer game.

http://appwarps2.shephertz.com/dev-center/quizup-trivia-game/

However, is it possible to invite friends who have not downloaded the game to download and play the game too? This function is allowed in nextPeer where they list both facebook friends who are offline and online. 

I'm developing a android game. If possible, can you point me an online tutorial or walkthrough. Thank you.

asked May 26, 2014 in AppWarp by kavanohk (10 points)

1 Answer

0 votes
There are two separate aspects to your question

1) Distinguishing between users who have installed and registered for your game and others who have not.

2) Distinguishing between online and offline users who have registered and using your game.

For #1) You can use Facebook invite using their Android SDK.

https://developers.facebook.com/docs/games/requests/v2.0

For #2) To invite an offline user to play, you can use Push notification. This assumes that the user is registered. You can use App42 Push notification service for this or any other 3rd party push service and integrate in your game. We have samples using App42 push for example - http://api.shephertz.com/tutorial/Push-Notification-Android/
answered May 26, 2014 by dhruvc (1,099 points)
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
...