Last active
March 12, 2020 16:57
-
-
Save Biodam/10871b10e9bdf561f4c7f3ef64d2ae6f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This happens because the Facebook login through Facebook app on Android needs the correct hash of your Google Play Signing key. | |
Follow the steps from "B" on this post: https://forum.unity.com/threads/solved-problem-with-login-facebook-sdk-android.257482/#post-1709450 | |
Copy paste here if the link goes offline: | |
B) The "Key Hash" generated in the Unity Engine was wrong. So, now I am generating the Key Hash through the steps: | |
1. Unzip .apk file and extract META-INF\CERT.RSA file | |
2. In the Prompt, run: keytool -printcert -file CERT.RSA | |
3. notice SHA1 bytes are printed like 29:37:F1:CB:06… | |
4. copy SHA1 bytes into HEX to BASE64 converter (http://tomeko.net/online_tools/hex_to_base64.php) | |
5. see your BASE64 key hash in output field | |
Post this Base64 key hash on your developer Facebook app settings page. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment