Key hash for Facebook not working?

thanks my friend for help me. you are a savior

Perfect. Thanks @rolinger. Worked like a charm. I was trying LinkedIn Auth flow.

where to put keyhash in ionic code

@nikhilkumarbehera I don’t think you need to include it in your app. I just included in the Facebook Android App and it worked.

Hello, I’ll put here what worked for me. On your phone screen, when you give the error message, it says that the hash key XXXXXXXXXXXXX is not valid. Grab this hash, go to the settings (https://developers.facebook.com/)> basic settings> Hash Keys and add this value that is on your screen. And it all went well =)

HI, i hv tried your method, but still getting invalid key hash

Hi, i hv tried your method but still getting invalid key hash

Thank a lot man it worked for me.:smiley:

@rolinger that’s the same question I had…how is the key packaged in the apk file. I’ve been having the same issue for over a month and can’t seem to resolve this. And I think it occurred once I upgraded my android SDK in Android Studio. I think the wrong hashkey is getting packaged in my app. When I look in finder my .android directory is in my user folder. ~/user/.android/. There’s no way to verify if the correct hash key is getting deployed with the app.
Neither google or facebook authentication is working for android so it has to be the hashkey but I have no idea how to verify the .apk is using the correct one. Any help would be greatly appreciated.