Facebook Generating A Release Key Hash

Facebook Generating A Release Key Hash Average ratng: 7,6/10 9751 reviews

This key hash allows Facebook to verify the correct app is attempting to utilise your Facebook Application. You will need to generate this using the command line. In order to work, your Android build needs to be signed with a Keystore (See: Android Release Signing). Nov 24, 2018  This will generate a hash key that must be placed into app's profile. I carefully added the correct hash of my release key but my app keep complaining about key hash does not match any store key hashes and showed a hash which was different from my release key hash. This is what Facebook requires get the generated hash '.= '.

I’m really having troubles with the Facebook hash key.
I generated it in my Eclipse. proof:

Nov 23, 2018  → Generate SHA-1 Key. Open Android Studio. Open your Project. Click on Gradle (From Right Side Panel, you will see Gradle Bar) Click on Refresh (Click on Refresh from Gradle Bar, you will see List Gradle scripts of your Project) Click on Your Project (Your Project Name from List (root)) Click on. May 01, 2017  But don't find a way to get the release key hash. I am integrating facebook in my app. But don't find a way to get the release key hash. This site uses cookies for analytics, personalized content and ads. By continuing to browse this site, you agree to this use. How to get Release Key Hash for FaceBook. Now select 'Edit Settings' from the 'Facebook' menu. Find and note the value of the 'Debug Android Key Hash' in the 'Android Build Facebook Settings' panel. Also note the value of the 'Class Name'. Now, let's add the Bundle ID, Key Hash, and Class Name to your app's Facebook settings. Go to the 'Android' pane in the Basic tab of your app's. Jun 29, 2016 How to export release key hashe FACEBOOK keytool -exportcert -alias YOURRELEASEKEYALIAS -keystore YOURRELEASEKEYPATH openssl sha1 -binary openssl base64.

Then I went to https://developers.facebook.com/ and registered a new app.

And finally I’ve set my hashkey at the settings of Facebook developers:

But no whatter I do I keep getting the same error log:
“Key hash B5dWUEYfZJL/……….jyA= does not match any stored key hashes”

Does anybody know what I did wrong or how I can fix this problem?
If I used the id and name from the HelloFacebookSample inside my own app everything works.
So it HAS to do with the key hash, id or name I’ve set somewhere most likely.

Thank you,
Yenthe

Answers:

After hours of trying I’ve finally found a solution.

  1. Delete any app on the website of Facebook (developers.facebook.com)
  2. Delete the file debug.keystore under C:UsersyourUserName.android
  3. Generate a new key (by running your app again)
  4. Create a new app on developers.facebook.com and add the new hash key
  5. Re-run your app
  6. Succes!
Answers:

If your login is working without installing facebook app and not working when facebook app is installed due to error “hash key has not match” then do following steps

1 ) Launch your app and try to log in with facebook. A dialog will open and tell you: “the key has not been found in the facebook developer console and also show the hash key.

2 ) Note down that hash key.

3 ) Put it into your facebook developer console where you first generated your api key and remove the hash key with new and save. Now you are done. Anyone that downloads your app, published with earlier used keystore can log into facebook.

Answers:

Adding SHA1 keys from Eclipse/keytool helped me only when creating the app on FB, then after rebuilding I would always get the OP error.

What solved my issue was adding the key in the error message to the Facebook dashboard settings.

Facebook generating a release key hash download
Answers:

I faced the same issue while development and needed to get the hash key to test sharing on facebook, and while solving this I went through couple of issues

1- the command facebook provide to get the hash key by using openSSL command didn’t give me the right hash that I got by extracting the signature from Package info with code.
getting the hash by the second way was correct.

2- For some reason, In the documentation they tell you to go to developer settings and add the hash key for ‘Sample App’ there, I thought every hashkey for a developer should be there, and that was my mistake, every app has it’s own hash keys field to add to, go to your app/settings/android.

well that was it. and for the records I used openssl-0.9.8k_X64 on a Windows 7 x64 bit
and it just generates a wrong hash I don’t know why

I used this code to get the hash:

but be careful that this may not also print in logs the correct keyhash, at least on my device and machine, when I debug it, in a watch it shows the correct hash just before printing the logs, but in logs it shows another hash and the first one was the correct one.

anyway you can also use a command or eclipse to view the SHA hexadecimal sequence for your key and convert it to base 64 online, there are websites that may help
http://tomeko.net/online_tools/hex_to_base64.php?lang=en

Good luck

Answers:

I encountered a similar problem. The solution is surprisingly simple.

The error message looks like this:

Simply log into https://developers.facebook.com , select the “Settings” tab, and add the key hash “sL1***************VY=” to the list of saved Key hashes in the Android panel.

Answers:

I have had this Problem for two months now. My key hashes have been pyling up to 9.
Today i finally found the simple solution:

STEP 1:

Install the facebook sdk you downloaded from the facebook developer page on your phone. Don´t install the normal facebook app. Make sure you can log into facebook. Then log out.

STEP 2:

Export your app with your final release key as an apk, like you would when uploading it to the playstore.

STEP 3:

Put the Apk file on your phone via usb cable or usb stick.

STEP 4:

Install your app, using a file manager: For example
https://play.google.com/store/apps/details?id=com.rhmsoft.fm

STEP 5:

Launch your app and try to log in with facebook.
A dialog will open and tell you: “the key has not been found in the facebook developer console

STEP 6:

Write down the key.

STEP 7:

Release Key Hash Facebook Android

Put it into your facebook developer console and save.
Now you are done.
Anyone that downloads your app, published with earlier used keystore can log into facebook.

Enjoy

Answers:

Facebook Generating A Release Key Hash 2017

It is looks crazy but it work

Really issue because of you privite facebook account got this app and hash key of this account does’t comparable

But you musn’t to faced this error with real user. But I am not sure

Eventually follow next step :

  1. Go to your private facebook account which you try to log in
  2. Then click More in app dir
  1. Click Settings

And then click cross

And now you can login with facebook. But next time if you log out and than will try log in again you faced with the same issue…

It is also weird…

But I don’t bellieve that facebook don’t know about this …

Answers:
  1. Check your Key hash value.
  2. Uninstall the Facebook application from your phone.
  3. Then try again using SDK.

This solved my problem.

Answers:

Using Debug key store including android’s debug.keystore present in .android folder was generating a strange problem; the log-in using facebook login button on android app would happen perfectly as desired for the first time. But when ever I Logged out and tried logging in, it would throw up an error saying: This app has no android key hashes configured. Please go to http:// ….

Creating a Keystore using keytool command(keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -sigalg SHA1withRSA -keysize 2048 -validity 10000) and putting this keystore in my projects topmost parent folder and making a following entry in projects build.gradle file solved the issue:

Please note that you always use the following method inside onCreate() of your android activity to get the key hash value(to register in developer.facebook.com site of your app) instead of using command line to generate hash value as command line in some cased may out put a wrong key hash:

Answers:

I got the same problem. I found that I used wrong hashkey. keytool printed wrong hashkey because I run command with wrong alias.
Please check your command again.It will resolve your issue

Facebook Generating A Release Key Hash File

Answers:

Check your google-services.json . May be it is different one. Download your latest google-services.json and then run the app. Hope it helps.

Facebook Generating A Release Key Hash Video

Answers:

I got simular problem. After signing and publishing my app to the google PlayStore it seems the Hash has changed.
I added the new Hash (as mentioned) in the Facebook messaged to the Key Hashes in my app on developers.facebook.com/app//settings. Now it works again.

Answers:

Generating A Release Key Hash

Download nba 2k17 key generator. “Enabled Single Sign On for Your App” that’s why it work only one time. please go to developer.facebook and check settings.it work for me

Facebook Release Key Hash

Tags: facebook, hash