I am developing a game where I integrate facebook plugin via sdkbox. In my game I want to implement facebook invitation but sdkbox::PluginFacebook::inviteFriends( applink, imageurl) is not work. After some research I found that facebook change the API after the cambridge analytica scandal and they depricated the invitable_friends API endpoint as well as facebook native invite dialog. But I found some big games still have the invite friends feature. Example games are Coin Master Teen Patti Gold
As they can offer invitation friends then it’s sure that there have a way to invite friends.
Please help me to implement facebook invitation or other alternative will be a plus.
Check out Facebook Graph API for customize the parameters. For example, you could create a button for send an email to your friend, for invite to play.
Else, you can use native sharing for iOS and Android (sdkbox offers a plugin for that).
std::vector<std::string> vec;
vec.push_back("");
PluginFacebook::inviteFriendsWithInviteIds(vec, "Invitation title", "Invitation text up to 60 chars.");