I’m trying to obtain the key hash for integrating facebook into my Android app. But all over the net I can’t find the way to do it on
MAC OS X , only for Windows .
Mar 09, 2018 How to get Development Key Hashes and Release Key Hash for android app Facebook. Add Facebook login to React Native (Android). Codedamn 6,607 views. Generate SHA1 fingerprint of. Mar 19, 2014 I've added this key hash into the app developer page on Facebook. It works fine when I build the android apk unsigned. However, When I create a keystore/key and sign it from the Unity build settings, the debug key hash doesn't work. It gets stuck on login, shows it two times and doesn't login.
![]()
If someone could light me with the proper way to obtain the key hash I’d really appreciate it.
Thank you!
How to&Answers:
Sorry, what key tool?
![]()
If you want to generate a Facebook App ID/Key, go to https://developers.facebook.com/apps and create a Facebook app.
If you want the keytool that you can use to create certificates etc, that is included in the jre.
Explanation for how to deal with the keys and hash here:
http://developers.facebook.com/docs/guides/mobile/#android Answer:
I used following steps to generate a Key Hash for my app in facebook: (I am using Mac OSX 10.8)
https://heavysignal372.weebly.com/wifi-hack-key-generator-free-download.html. Reference: Integrate Facebook logins in your Android app
Answer:
Please follow below steps to find debug.keystore and generate key hash for android development at mac.
Answer:
Never did it on Mac before, but here are some advices:
1.You need OpenSSL. Install it. In Windows I just extract zip file, then copy three file include openssl.exe in bin folder to jdk’s bin folder (where keytool is), don’t know how it work on Mac.
2.Copy file keystore what you want to get key hash to jdk’s bin folder. My keystore is debug.keystore (because I’m still in test, I don’t want to use the main keystore).
3.Using command line to go to jdk’s bin folder (In Windows, I just Run -> cmd -> type cd %JAVA_HOME%)
4.Type this command:
keytool -exportcert -alias alias_name -keystore sample_keystore.keystore | openssl sha1 -binary | openssl base64
In my case (debug.keystore):
keytool -exportcert -alias androiddebugkey -keystore debug.keystore | openssl sha1 -binary | openssl base64 then enter password for debug.keystore: android (without password, the key hash’s still generated and the same as with password, don’t know why).
You’ll get some string with “=” character at the end. Go to your app setting -> mobile -> fill that key hash (include “=”) to Android key hash.
Answer:
(honestly, not an answer, just a note for all visitors having this or similar trouble)
Facebook Login Android Generate Key Hash Free
There is a way to obtain a key hash without JDK and OpenSSL by using pure Java utility android-fb-keytool. You can checkout and build source code.
Facebook Android Generate Key Hash
Tags: androidandroid, facebook, hash
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |