Unity Facebook SDK Login in using FB app rather than Safari browser
Hello, Is there a work around for logging in with the Facebook app and not the safari browser for the iOS10 sdk. I'm using unity-facebook-sdk v7.9.0
Comment
Answer by avazutaev · Mar 03, 2017 at 06:29 PM
After you call FB.ActivateApp();
try to change shareDialogMode like this ->
FB.Mobile.ShareDialogMode = ShareDialogMode.NATIVE;
Awesome, solved my issue! It still opens a Facebook page initially in Safari and asks me how I want to open the Facebook request, but I think that's for the best as sometimes the user may not have Facebook installed. If they have it installed they can just pick to open it with the app and share from there so it works great for me! Thanks!