Skip to content Skip to sidebar Skip to footer

Facebook Sdk 3.1.2 For Unity - Trouble Logging In On Android Devices

I'm using the latest version of the Facebook SDK, version 3.1.2, for Unity. My problem is somewhat similar to this question. The differences being that my iOS builds work just fine

Solution 1:

It sounds like you don't have the android key hash set up correctly. In the Unity Editor, click the Facebook entry on the main menu bar, then click "Edit Settings". Find the item marked "Debug Android Key Hash" and copy the value to your clipboard.

Navigate to http://apps.facebook.com and find you app. Paste the key hash you took from the editor into the "Key Hashes" section of your apps native android setup. This page has a picture of how your setup should end up looking.

Solution 2:

Does your main activity extend the FBUnityPlayerActivity class?

We're running into the same problem, and tried the same fixes - just now noticing this as a warning in the editor logs.

Post a Comment for "Facebook Sdk 3.1.2 For Unity - Trouble Logging In On Android Devices"