Android : Facebook API: Sending Android Play Store invite

on Tuesday, September 16, 2014


I want to let players invite friends to play the game and reward them for it. Private messaging is not possible in mobile games, so what's the best way to do this?


I tried:



FB.ui({method: 'apprequests',
message: 'Play this!'
}, function(response){
console.log(response);
});


While the message is being sent (success response), the notification never appears for the invited user. I Googled this, and the solution was to add a canvas page. So now the invited users do see a notification but if they click on it they go to the canvas facebook app page. But my game is only available as a PlayStore app.


So, I want users to receive a private message/invitation with a link to go to the Play Store. How can I do that?


0 comments:

Post a Comment