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 .
If someone could light me with the proper way to obtain the key hash I’d really appreciate it. https://powerupprime.weebly.com/nwn2-online-cd-key-generator.html.
Thank you!
How to&Answers:
Sorry, what key tool?
This file is generated when Xamarin.Android is first installed.The steps below detail the process for finding the MD5 or SHA1 signature of the default Xamarin.Android debug.keystore file. Visual Studio. May 08, 2016 How to Get Generate key hash for Facebook in android in windows XP,7,8.1,10. Download OpenSSL for windows form Google Code. After download OpenSSL extract the downloaded folder into C drive. Now locate your debug.keystore file which is inside your.android folder. Jul 08, 2018 But in some cases in Android it’s required to generate SHA-1 to use some services such as (Google Sign-in, Dynamic Links, etc). So, Let’s GO! Step 1: Generate keystore.jks File. Jul 02, 2019 How to generate a development key hash To ensure the authenticity of the interactions between your application and Facebook, the Quick Start for Android will request the Android key hash. Oct 09, 2015 Generate Android Key hash for Facebook App and LinkedIn App. I hope you all are familiar with android studio or eclipse and required java and SDK required to run an android application. Let us start with the steps. Learn the best of web development.
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)
Generating A Development Key Hash Android Studio Code
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.
Generating A Development Key Hash Android Studio VideoAnswer:
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).
How To Get Development Key Hash Android
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)
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.
Tags: androidandroid, facebook, hash
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |