android - Invite new users for my app using app notifications facebook -
my app logs in via facebook , friends of facebook user logged listed invited download app. want guests advised via facebook through notification. i've done test via "graph api explore" follows:
post/{recipient_userid}/notifications? access_token = ... & template = john inviting learn new app. & href = ... "
but noticed notification comes have application installed.
{return: "(#200) cannot send notifications user has not installed app"}
how send notifications facebook users still not have application installed? thks!
because notifications not meant used invite friends. they're used notify app users of events happening in app (e.g. if high score beaten in game example).
if want let user invite friends use app, i'd suggest use request & invite features of facebook sdk: https://developers.facebook.com/docs/tutorials/ios-sdk-games/requests/
that tutorial shows how user can select list of friends invite , write message accompany invitation.
Comments
Post a Comment