As the latest release of Facebook SDK version 4.28.0 - November 7, 2017, App Invites is deprecated. https://developers.facebook.com/docs/app-invites/android/
With the release of the Facebook SDK version 4.28.0, App Invites is deprecated. It will be supported until February 5, 2018.
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). 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 i.e Whatsapp, Kik, Twitter, Kakao etc. More details here
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.
(Disclaimer: I am founder of GetSocial)
Seems there is no other option for non-game applications but to remove Facebook app invites. Google Firebase invites is good option we integrated recently and used side-by-side with Facebook Invites.
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 ( i.e. 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".
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. In that you can also set filter for NON APP USERS only.
来源:https://stackoverflow.com/questions/47196972/facebook-app-invites-is-deprecated