How to Get Android Hash Key for Facebook Apps?

Samsul Hoque
90
When you are integrating Facebook with Android application, it is mandatory to create Facebook app for your android application.
For security reasons we have provide our development machine key hash while creating Facebook app in order to get response from facebook API.





Key Hash is required to Integrate Facebook SDK with your Android application. There are two types of Key Hashes that are required to access Facebook API responses. They are namely Debug Key Hash and Release Hey Hash.
Here I am least bothered about creating Facebook App, rather I would like to discuss more about creating Debug Key Hash and Release Key Hashes for your Android application.
Debug Key Hash : This is required when you are testing your application on your android emulator. Your Android development environment by default creates a Debug key for you atdebug.keystore located at “C:\Users\user.android\debug.keystore“. You can simply make use of this key are generate your Debug Key Hash and submit it to facebook.
Steps to create Debug Key Hash for Facebook :

  1. Download and install OpenSSL from http://slproweb.com/products/Win32OpenSSL.html based on windows 32 or 64 bit.(Note: Download and install first visual C++ 208 redisributable from that site also )
  2. Java path: From Java Environment or (C:\Program Files\Java\jdk1.6.0_35\jre\bin)
    Open SSL Path: C:\OpenSSL-Win32\bin 
    Keystore Path: C:\Data\ANDROID\KEYSTORE\
  3. keytool -exportcert -alias [alias name] -keystore [Keystore Path]\debug.keystore | [Open SSL Path]\openssl sha1 -binary | [Open SSL Path]\bin\openssl base64
  4. Now Open the command prompt     and  put this command on cmd

    keytool -exportcert -alias androiddebugkey -keystore %USERPROFILE%\.android\debug.keystore | C:\OpenSSL-Win32\bin\openssl sha1 -binary | C:\OpenSSL-Win32\bin\openssl base64
    When Enter key press ,show this windows

  5. Now enter password "facebook" without double quote.
  6. Now a hash key will be generated   




  7. Finally go to the Facebook Developer site. Make sure you are logged into Facebook and, using the dropdown menu in the top-right, go to your 'Developer Settings':
  8. Once you're in your developer settings, select 'Sample App' from the navigation on the left, and add and save your key hash put into your apps fied 

Post a Comment

90Comments
  1. very nice blogs!!! i have to learning for lot of information for this sites...Sharing for wonderful information.Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.
    Oracle DBA Training in Chennai

    ReplyDelete
  2. Thanks for sharing this valuable information to our vision. You have posted a trust worthy blog keep sharing.Nice article i was really impressed by seeing this article, it was very interesting and it is very useful for me..
    Android Training in Chennai

    ReplyDelete
  3. Really awesome blog. Your blog is really useful for me. Thanks for sharing this informative blog. Keep update your blog.
    SAP Training in Chennai

    ReplyDelete
  4. Latest Govt JObs 2016


    The information provided was extremely useful and informative. Thanks a lot for useful stuff..................

    ReplyDelete

  5. Thanks for sharing as it is an excellent post would love to read your future post.

    App Development Tutorial

    ReplyDelete
  6. Android SDK allows you to create stunning mobile application loaded with more features and enhanced priority. With basis on Java coding language, you can create stunning mobile application with ease.

    Cado Magenge
    mobile apps development companies melbourne
    web design and development company
    app development company
    iphone application development melbourne

    ReplyDelete
  7. Nice information you shared the great tutorial about android.
    Android Training in Chennai

    ReplyDelete
  8. I always learn something new when I get to read any of your posts. Thanks a lot for explaining to us how to get android hash key.You may want to click on this link: Finish My Analysis Chapter

    ReplyDelete
  9. Greens Technology's. the leading software Training & placement centre Chennai & (Adyar)
    informix training in chennai

    ReplyDelete
  10. • Great post and informative blog.it was awesome to read, thanks for sharing this great content to my vision..
    sas training in chennai

    ReplyDelete
  11. hi welcome to this blog.really you have post an informative blog.it will be really helpful to many peoples.
    apachespark training

    ReplyDelete
  12. Firstly, to generate your key hash on your local computer, run Java's keytool utility (which should be on your console's path) against the Android debug keystore. This is, by default, in your home .android directory).

    on ubuntu, it's woking in my computer

    hide apps on android

    ReplyDelete
  13. I am expecting more interesting topics from you. And this was nice content and definitely it will be useful for many people.
    Mobile App Development Company
    Mobile App Development Company in India
    Mobile App Development Companies

    ReplyDelete
  14. I feel happy to find your post, excellent way of writing and also I would like to share with my colleagues so that they also get the opportunity to read such an informative blog.
    Selenium Training in Chennai
    Best selenium training in chennai
    iOS Training in Chennai
    Digital Marketing Training in Velachery
    Digital Marketing Training in Adyar
    Digital Marketing Training in Tambaram

    ReplyDelete
  15. Thanks for your interesting ideas.the information's in this blog is very much useful
    for me to improve my knowledge.
    AWS Certification Training
    AWS Training in Thirumangalam
    AWS Training in Amjikarai

    ReplyDelete
  16. Thanks for such a great article here. I was searching for something like this for quite a long time and at last I’ve found it on your blog. It was definitely interesting for me to read about their market situation nowadays. Well written article.Thank You Sharing with Us.android quiz questions and answers | android code best practices | android development for beginners | future of android development 2018 | android device manager location history

    ReplyDelete
  17. Good job! Fruitful article. I like this very much. It is very useful for my research. It shows your interest in this topic very well. I hope you will post some more information about the software. Please keep sharing!!
    RPA courses in Chennai
    Robotic Process Automation Training
    RPA course
    Robotic Process Automation Certification
    RPA Training
    RPA Training Institute in Chennai

    ReplyDelete
  18. You have provided a nice article, Thank you very much for this one. And I hope this will be useful for many people. And I am waiting for your next post keep on updating these kinds of knowledgeable things.
    Cloud computing Training institutes in Chennai
    Best Cloud computing Training in Chennai
    Cloud computing institutes in Chennai
    Salesforce Training in Chennai
    Salesforce Training
    Salesforce Training institutes in Chennai

    ReplyDelete
  19. This post is very useful for me keep posting new blogs
    https://www.slajobs.com/advanced-excel-vba-training-in-chennai/

    ReplyDelete
  20. Thanks for information , This is very useful for me.
    Keep sharing Lean Six Sigma Green Belt Training Bangalore


    ReplyDelete
  21. Thank you for sharing such great information very useful to us.
    Android Training in Noida

    ReplyDelete
  22. 3. if you want girls mobile numbers then this website is best for you . you can visit on this website and get their information and you also can meet with thrm and go for a date . click here to use our website --- 100% free online dating website

    ReplyDelete
  23. 1. many peoples want to join random whatsapp groups . as per your demand we are ready to serve you whatsapp group links . On this website you can join unlimited groups . click and get unlimited whatsapp group links 18+

    ReplyDelete
  24. 1. many peoples want to join random whatsapp groups . On this website you can join unlimited groups . click and get unlimited whatsapp group links

    ReplyDelete
  25. This comment has been removed by the author.

    ReplyDelete
  26. outsourcingall.com is a Porn Training site. outsourcingall.com is the largest Amateur porn training institute with the hottest selection Online and offline real life cam.
    free bangla sex video dhaka

    ReplyDelete
  27. Go live, with Me2call4u, and connect with anyone all over the world with a single swipe! Me2call4u is an random video chat app which will allow you to talk to strangers around the world instantly.

    ReplyDelete
  28. Clinical sas training in chennai | SAS Training course chennai
    I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.

    ReplyDelete
  29. Thank you for sharing valuable information about android. It is very useful to android learners, please keep updating information regarding Android app development course .

    ReplyDelete
  30. Whatever we gathered information from the blogs, we should implement that in practically then only we can understand that exact thing clearly, but it’s no need to do it, because you have explained the concepts very well. It was crystal clear, keep sharing.. i Want to share Some data regarding the websphere application server training videos with free bundle videos is provided.

    ReplyDelete
  31. great article!!!!!This is very importent information for us.I like all content and information.I have read it.You know more about this please visit again.
    CCC Paper

    ReplyDelete
  32. Thanks for sharing valuable information.It will help everyone.keep Post.
    Swachata par Nibandh

    ReplyDelete
  33. It’s interesting content and Great work....Sarkari Job are an attraction to a huge Indian population. Whenever one looks for a settled future, we tend to look at SSC Jobs, Railway Jobs, Bank Jobs, Defence Jobs and Civil Service Jobs.

    ReplyDelete
  34. First of all I would like to thank you for writing this post I love both writing and reading new posts and I was just looking at new posts to see me something new, only then I saw your post and the rest of the post is praiseworthy.
    sofeeya.com

    ReplyDelete
  35. I wanted to thank you for this great read!! I definitely enjoying every little bit of it I have you bookmarked to check out new stuff you post.
    Data Science Institute in Bangalore

    ReplyDelete
  36. This comment has been removed by the author.

    ReplyDelete
  37. Your article has all the necessary informative. It is a change of taste from other supposed informational content with some accurate points which needs to be focused to get the details about the topic.
    SAP training in Kolkata
    SAP course in kolkata

    ReplyDelete
  38. When you are eager to hire one from our agency then give us the chance to provide the most elite independent models and highest rated Delhi escort for your best moments in life when visiting Delhi

    ReplyDelete
  39. Great opportunities are coming this time because our institution is offering you a CS executive classes and a free CSEET classes . We are here to test your skills and improve your skill level. Interested people don't feel hesitate to contact us or visit our website at https://uniqueacademyforcommerce.com/

    ReplyDelete
  40. Thumbs up guys your doing a really good job. It is the intent to provide valuable information and best practices, including an understanding of the regulatory process.
    Python Training in Hyderabad
    Python Course in Hyderabad

    ReplyDelete
  41. Grab the Oracle Certification in Chennai from Infycle Technologies, the best software training institute, and Placement center in Chennai which is providing professional software courses such as Data Science, Artificial Intelligence, Cyber Security, Big Data, Java, Hadoop, Selenium, Android, and iOS Development, DevOps, etc with 100% hands-on practical training. Dial 7502633633 to get more info and a free demo and to grab the certification for having a peak rise in your career. Grab Oracle Certification in Chennai | Infycle Technologies

    ReplyDelete
  42. Thus, on the off chance that you won't think about Salesforce for your business, you are truly missing something which can accelerate your business tasks and its prosperity. training institutes in Pune

    ReplyDelete
  43. Plantation shutters are always form royal look to the property with choice of varieties in the
    material from real wood, PVC to Faux wood materials that providing premium quality compared to other blinds and especially great when that comes from Australian Window Covering, Victoria.
    Plantation shutters

    ReplyDelete
  44. Finish the Selenium Training in Chennairom Infycle Technologies, the best software training institute in Chennai which is providing professional software courses such as Data Science, Artificial Intelligence, Java, Hadoop, Big Data, Android, and iOS Development, Oracle, etc with 100% hands-on practical training. Dial 7502633633 to get more info and a free demo and to grab the certification for having a peak rise in your career.

    ReplyDelete
  45. I was just examining through the web looking for certain information and ran over your blog.It shows how well you understand this subject. Bookmarked this page, will return for extra. data science course in vadodara

    ReplyDelete
  46. Our online assignment writing service. guarantees that every paper is written from scratch and is 100% original. Whenever you order from Assignmentworkhelp, you are guaranteed to receive only original college assignments, done by the best assignment writers. You are being assured to book your order now
    online assignment help

    ReplyDelete

  47. Nice informative content. Thanks for sharing the valuable information.
    Data Science Course in Chennai |FITA Academy

    ReplyDelete
  48. Thank you so much for doing the impressive job here, everyone will surely like your post.
    data science course

    ReplyDelete
  49. Want To Trade Forex With AVATRADE REVIEW ? Read This Blog First To Find Out About The Best Forex Trading Conditions. We Review The Most Popular Forex Brokers And Tell You What You Need To Know.

    ReplyDelete
  50. Bangaloredigitalmarketing provides the best Digital Marketing courses in bangalore with certification
    and placements in jayanagar, marathahalli
    https://bangaloredigitalmarketing.com/
    https://bangaloredigitalmarketing.com/digital-marketing-courses-in-bangalore/
    https://bengalurudigitalmarketing.blogspot.com/

    ReplyDelete
  51. Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us.
    data science course

    ReplyDelete
  52. Amazing knowledge and I like to share this kind of information with my friends and hope they like it they why I do
    data science course

    ReplyDelete
  53. NordVPN 2022 Crack is the software of your best choice to hide your identity from the internet endeavors to attack your personal information.! Nord VPN Cracked

    ReplyDelete
  54. Nice blog, informative content.
    Jewellery Software
    Jewellery Software

    ReplyDelete
  55. While hiking, your pet dog may be quite vulnerable to bug bites. Though most of these insects are harmless to your dog, some of them can cause much trouble. These are external parasites known as ticks and fleas. They can transfer several diseases in your dogs, apart from causing itching and scratching.click on k9nerds

    ReplyDelete
Post a Comment