邀请新用户使用的应用程序的Facebook通知我的应用程序 [英] Invite new users for my app using app notifications facebook

查看:566
本文介绍了邀请新用户使用的应用程序的Facebook通知我的应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的应用程序日志,并记录上市的Facebook用户的朋友都被邀请下载我的应用程序。我想通过一个通知通过Facebook通知客人。
我已经做了通过测试图形API探索如下:

My app logs in via facebook and all friends of facebook user logged is listed to be invited to download my app. I want guests to be advised via facebook through a notification. I've done the test via "Graph Api Explore" as follows:

POST / {} recipient_userid /通知?的access_token = ...&安培;模板=约翰邀请你学习新的应用程序。 &安培; HREF = ...

POST/{recipient_userid}/notifications? access_token = ... & template = John is inviting you to learn a new app. & href = ... "

但我注意到,该通知来只向那些已经安装谁是我的应用程序。

but I noticed that the notification comes only to those who already have my application installed.

{返回:(#200)无法将通知发送给谁没有安装该应用程序用户}

{return: "(#200) Cannot send notifications to a user who has not installed the app"}

我怎么发送通知Facebook用户仍然没有安装的应用程序?
thks!

how do I send notifications for facebook users that still do not have my application installed? thks!

推荐答案

由于通知的目的不是要用来邀请朋友。他们用来通知事件的应用程序(例如,如果他们的高得分,例如游戏被殴打)发生的应用的用户。

Because notifications are not meant to be used to invite friends. They're used to notify your app users of events happening in the app (e.g. if their high score was beaten in a game for example).

如果你想让你的用户邀请朋友也使用该应用程序,我建议你使用Request和放大器;邀请Facebook的SDK的特点:
https://developers.facebook.com/docs/tutorials/ios- SDK游戏/请求/

If you want to let your user invite friends to also use the app, I'd suggest you use the Request & Invite features of the Facebook SDK: https://developers.facebook.com/docs/tutorials/ios-sdk-games/requests/

该教程向您展示了用户如何选择好友列表邀请,然后写一个消息将伴随邀请。

That tutorial shows you how your user can select a list of friends to invite and then write a message that will accompany the invitation.

这篇关于邀请新用户使用的应用程序的Facebook通知我的应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆