Native Shopify Mobile App with 20 new features
Kickstart your hyperlocal marketplace in Corona pandemic with a starter guide
Android App Development
iOS App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 22.214.171.124 release ready!
Owner and Founder. Opencart
In This blog, we will look into how we can get or log Facebook Key Hash through Java.
The native Facebook login integration instructions are very clear.
You can read the official docs for the same.
But when you are working on the application in the debug/ development mode, then you might have seen this error :
Invalid Key Hash. The Key xxxxxxxxxxxxxxxxxxxxxxxxxxxx does not match any of the keys ……………
Seeing this itself is annoying, but when you are not able to add/ save the key you see on your developers.facebook dashboard, that moment is frustrating.
And the most probable reason for this is that you missed some invisible character in the key hash.
Also, many times you don’t even get the right key for the debug version you just started checking on some of your devices.
I am not saying running terminal commands is bad, but using android studio is pretty simple and straightforward.
So, I have got java code for printing my key hash as a string and I just print it in my launcher activity and check if this is a new key hash or some old, if it is a new key hash I just copy and update it to developers.facebook account dashboard.
Your email address will not be published. Required fields are marked*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
The support is fast and do everything in their power to make it perfect. If you need customization it's also done right away. I had massive research to select Mobikul and now I'm sure it was the right one.
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.