I am using share dialog of facebook in order to share a link from my app to facebook. But I keep getting error com.facebook.FacebookException: Failed to get app name.
I already made my app status live and available to public.
Any help is appreciated.
I faced the same issue, this is how I solved it for me. The solution was to add .setApplicationName("name of app")
FacebookDialog shareDialog = new FacebookDialog.ShareDialogBuilder(activity)
.setLink("https://www.google.com")
.setApplicationName("name of app")
.build();
uiHelper.trackPendingDialogCall(shareDialog.present());
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With