简体   繁体   English

Facebook 应用邀请已弃用

[英]Facebook App Invites is deprecated

As the latest release of Facebook SDK version 4.28.0 - November 7, 2017 , App Invites is deprecated.作为 Facebook SDK 4.28.0版的最新版本- 2017 年 11 月 7 日,不推荐使用 App Invites https://developers.facebook.com/docs/app-invites/android/ https://developers.facebook.com/docs/app-invites/android/

With the release of the Facebook SDK version 4.28.0, App Invites is deprecated.随着 Facebook SDK 4.28.0 版的发布,App Invites 已弃用。 It will be supported until February 5, 2018.它将支持到 2018 年 2 月 5 日。

It makes the AppInviteDialog not working as expected (show white screen instead of list friends - Facebook app is not installed in the device), even I decreased Facebook SDK version to 4.27.0 or lower).它使AppInviteDialog无法按预期工作(显示白屏而不是列出朋友 - 设备中未安装 Facebook 应用程序),即使我将 Facebook SDK 版本降低到4.27.0或更低)。 I tried to find out more information at offical docs but no luck.我试图在官方文档中找到更多信息,但没有运气。 Anyone have a solution for this trouble ?任何人都有解决这个问题的方法?

You should also consider using popular messaging apps and other social networks to leverage app invites ie Whatsapp, Kik, Twitter, Kakao etc. More details here您还应该考虑使用流行的消息应用程序和其他社交网络来利用应用程序邀请,即 Whatsapp、Kik、Twitter、Kakao 等。 更多详细信息请点击此处

Our data shows that less than 18% of users prefer inviting via FB AppInvites, whereas the other 82% of users prefer to invite friends via WhatsApp, FB Messenger and other chat applications.我们的数据显示,不到 18% 的用户更喜欢通过 FB AppInvites 邀请,而另外 82% 的用户更喜欢通过 WhatsApp、FB Messenger 和其他聊天应用程序邀请朋友。

(Disclaimer: I am founder of GetSocial) (免责声明:我是 GetSocial 的创始人)

Seems there is no other option for non-game applications but to remove Facebook app invites.对于非游戏应用程序,似乎没有其他选择,只能删除 Facebook 应用程序邀请。 Google Firebase invites is good option we integrated recently and used side-by-side with Facebook Invites. Google Firebase 邀请是我们最近集成并与 Facebook 邀请并排使用的不错选择。

I was just trying to add invites for the first time and struggled for a long time until I realized that I need to do the following:我只是第一次尝试添加邀请并挣扎了很长时间,直到我意识到我需要执行以下操作:

1 - Use Game Requests ( ie apprequests) 1 - 使用游戏请求(即 apprequests)

2 - Enable "Deep Linking" in Basic Settings page on Facebook developer portal for each platform, you won't see the option unless you also enable "Single Sign On". 2 - 在 Facebook 开发者门户的基本设置页面中为每个平台启用“深度链接”,除非您还启用“单点登录”,否则您将看不到该选项。

Now the notifications open directly into app store if app not installed or into the game directly if it is installed.现在,如果未安装应用程序,通知会直接打开到应用程序商店,或者如果安装了则直接打开游戏。

The great thing is you don't need an App Link!!最棒的是你不需要应用程序链接!!

Try GameRequestDialog to invite your friends.尝试 GameRequestDialog 邀请您的朋友。 In that you can also set filter for NON APP USERS only.您还可以仅为非应用程序用户设置过滤器。

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

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