Skip to content Skip to sidebar Skip to footer

Android - Error: Com.facebook.facebookexception: Failed To Get App Name

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 mad

Solution 1:

I faced the same issue, this is how I solved it for me. The solution was to add .setApplicationName("name of app")

FacebookDialogshareDialog=newFacebookDialog.ShareDialogBuilder(activity)
        .setLink("https://www.google.com")
        .setApplicationName("name of app")
        .build();
        uiHelper.trackPendingDialogCall(shareDialog.present());

Solution 2:

You may check your developer roles or disable the Sandbox Mode.

Solution 3:

I faced same issue in android emulator.

I restarted the emulator and works fine. Its may be because of network not available.

Post a Comment for "Android - Error: Com.facebook.facebookexception: Failed To Get App Name"