简体   繁体   English

facebook SDK,邀请朋友

[英]facebook SDK, invite friends

I am developing an app, and users will be able to log in with Facebook. 我正在开发一个应用程序,用户将可以使用Facebook登录。 They only can start using the app if a minimum of their Facebook friend are already using the app. 如果他们的Facebook朋友中已有最少的已经在使用该应用程序,则他们只能开始使用该应用程序。 If not, they have to wait until the minimum required number of friend use the app in order to use it. 如果没有,他们必须等到最少数量的朋友使用该应用程序才能使用它。 I want to allow them to invite their Facebook friends to join. 我想允许他们邀请他们的Facebook朋友加入。 Also, I would like to know how I can make it happen? 另外,我想知道如何实现它? Do I HAVE TO create a facebook canvas or is there any other ways I can make it works? 我必须创建一个Facebook画布吗?还是有其他方法可以使它起作用? Thank you for your help. 谢谢您的帮助。

https://developers.facebook.com/docs/apps/faq#invite_to_app https://developers.facebook.com/docs/apps/faq#invite_to_app

Games on Canvas: App Request 画布上的游戏: 应用程序请求

Other Apps/Games: Send Dialog or Message Dialog 其他应用/游戏:“ 发送”对话框或“ 消息”对话框

You can't access invitable_friends without enabling facebook canvas in your app's settings, but maybe app requests safisfy your needs? 如果不在应用程序设置中启用Facebook画布,就无法访​​问invitable_friends,但是也许应用程序请求满足您的需求? It will list friends (user needs to authorise reading friends list by app) and allow user to send them a notification in their mobile facebook app which will open an app or take user to app's page in App Store if they haven't installed your app yet. 它将列出朋友(用户需要按应用授权阅读好友列表),并允许用户在其移动Facebook应用中向他们发送通知,这将打开一个应用或将用户带到App Store中的应用页面(如果他们尚未安装您的应用)然而。

Remember to enable deep linking, facebook SSO and provide App Store ID in platform settings for this work. 请记住要启用深层链接,facebook SSO并在平台设置中为此应用程序提供App Store ID。

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

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM