Skip to content

Instantly share code, notes, and snippets.

Created January 10, 2018 06:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/a2d449e13ada3b774cd060e0a4e2ea21 to your computer and use it in GitHub Desktop.
Save anonymous/a2d449e13ada3b774cd060e0a4e2ea21 to your computer and use it in GitHub Desktop.
Facebook App Key Hash Android
********************
Facebook App Key Hash Android ->>->>->>
********************
http://shurll.com/c08ly
(Copy & Paste link)
********************
How to data insert in mysql using swing Data Insert into MySQL database from Java Desktop Application This tutorial can be taught, how to data insert into the MySQL database us. You can find the Default debug keystore. shareimprove this answer answered Aug 7 '13 at 10:52 Biraj Zalavadia 21k54563 I am getting different values with different alias name, how to verify which one is correct? –Javal Nanda Sep 26 '13 at 12:21 it it asking for password with both the alias name ? –Biraj Zalavadia Sep 26 '13 at 12:23 ya and whatever password I enter it is given me the hash key. Thanks. Back to top . Fill in your details below or click an icon to log in: Email (Address never made public) Name Website You are commenting using your WordPress.com account. Sorry –Anearion Jan 7 '14 at 16:53 1 Very nice. Windows: Steps for Release Hashkey: Download Openssl (Download from here), I have downloaded for 64 bit OS, you can find more here Extract downloaded zip file to C: drive only Open command prompt keytool -exportcert -alias **myaliasname** -keystore **"C:Usershiren.patelDesktopmykeystore.jks"** "C:openssl-0.9.8eX64binopenssl.exe" sha1 -binary "C:openssl-0.9.8eX64binopenssl.exe" base64 Kindly change Alias Name and Keystore with it's path as your requirement. Anonymous November 17, 2011 at 6:31 pm Reply Good to hear that my post helped you. This method is the best one. If it does not asks for password that means something is wrong in command. You can achieve with code specified in that post. How to Get Android Hash Key for Facebook Apps? When you are integrating Facebook with Android application, it is mandatory to create Facebook app for your android application. Also check whether the keytool exist in you system. I will need to anyhow generate exact key hash for release build. I havent looked at this for a long. Solution : Download "Openssl" from OpenSSL (if you have a 64-bit machine you must download openssl-0.9.8e X64). shareimprove this answer edited Aug 31 '17 at 13:57 answered Jan 15 '13 at 6:27 IlyaGazman 12.4k1173123 Excellent Code! –derogab Oct 9 '15 at 18:07 great solution, I guess there should be no executable unsigned version? unsigned version should be unable to install on any device. Done shareimprove this answer edited Jul 11 '16 at 9:34 answered Oct 7 '15 at 11:01 Hiren Patel 29.1k13107108 what is the password here? –Akash Bisariya Dec 21 '16 at 10:07 AkashBisariya, password of keystore, that you have given while creating the keystore. more stack exchange communities company blog Tour Start here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Log In Sign Up . Home CMS Wordpress Blogger WEB Html css PHP Function MySQL File .htaccess PHP PHP Framework Laravel CodeIgniter Function DESKTOP Swing ANDROID Android Studio Privacy Policy About Us Sorry, the page you were looking for in this blog does not exist. #PlanetEarth2 1yearago Program ESP8266 with ArduinoIDE sonyarouje.com/2016/11/07/pro 1yearago Follow sonyaroujeBlogroll Prakash Joythi Sendhil Ramalingam WordPress Blog WordPress Planet Recent Posts react, redux and cycle –Introduction RF Communication using nrf24L01 and Nodejsaddon My Experience inE-Vaping Program ESP8266 with ArduinoIDE Aeroponic Controller V4 Top Posts MQTT Communication with Arduino using ESP8266 ESP-01 Connecting XBee to Raspberry pi Raspberry Pi controlled Aeroponic System V2 Bootloading Atmega16 with Arduino Uno Multi client Asynchronous TCP Server Control AC/DC devices using Arduino Communication between Raspberry Pi and Arduino using XBee Bind JSON REST result using Knockout Hydroponics system controlled by Raspberry Pi an overview Chain of Responsibility pattern with Dependency Injection .NET Aeroponic Android Arduino Async communication Async CTP Asynchronous Asynchronous call atmega32 await C# Caliburn Micro Callouts callout Silverlight Camera360 CTP4 db4o Dynamically Add Controls Dynamic Controls EF4 Elasticsearch Entity Entity framework Etity framework 4 EventAggregator Generic repository Graph Database Image repositioning Image Upload Insert Introduction IoT ISP Shield; bootloading; atmega16; atmega32 itraveller LM2575 Lumia 920 Many to Many Relationship Meteor Mobile Photography MQTT MVVM NDepend neo4j Neo4jD NHibernate Node js Oil Slick ORM PCB Design Persist Selected Item Photo Album Photography POCO raspberry pi Reactive Extension Real time Reflection Rx Samsung Galaxy Tab 10.1 Selected Item SignalR Silverlight SQLite Unable to infer a key for entity type Usercontrol ViewModel WCF wifi controlled Windows Winows phone 8 WinRT Without proxy WP8 WPF XBee . Copy the path and update in our command, now the command will be like keytool -exportcert -alias androiddebugkey -keystore C:Userssarouje.androiddebug.keystore openssl sha1 -binary openssl enc -a -e Fire a command prompt and paste the command and run it. The key hash "xxx" does not match any stored key. same as below in AndroidManifest.xml If you already use name like android:name="android.support.multidex.MultiDexApplication" then also replace it because i have used extends multidexing in MyApplication.java file. –Biraj Zalavadia Sep 26 '13 at 12:36 If you want do without update on playstore. Sorry, we couldn't find that! [#404] Sorry, we could not locate the page you are requesting to view. Use following command C:Program FilesJavajdk1.7.003binkeytool -export -alias myAlias -keystore C:UsersAdmin.androiddebug.keystore C:openssl-0.9.8kWIN32binopenssl enc -a -e 4.It will ask for password.put PASSWORD = android You will get your hashkey. PackageInfo info; try { info = getPackageManager().getPackageInfo("com.you.name", PackageManager.GETSIGNATURES); for (Signature signature : info.signatures) { MessageDigest md; md = MessageDigest.getInstance("SHA"); md.update(signature.toByteArray()); String something = new String(Base64.encode(md.digest(), 0)); //String something = new String(Base64.encodeBytes(md.digest())); Log.e("hash key", something); } } catch (NameNotFoundException e1) { Log.e("name not found", e1.toString()); } catch (NoSuchAlgorithmException e) { Log.e("no such an algorithm", e.toString()); } catch (Exception e) { Log.e("exception", e.toString()); } You can delete the code after knowing the key ;) shareimprove this answer edited Nov 14 '17 at 10:18 onexf 1,20811027 answered Mar 7 '12 at 11:30 Bassem Samy 2,34211218 23 Guys, take care, after creating the apk, the key hash is changed! because using this code u get the debug keystore hash, but when creating apk, it's another hash, gotta capture it from log after trying ur apk on emulator , then delete code and export again without this log :) - i know it's a hassle :D but for me it was easier than keytool, good luck ;) –Bassem Samy Apr 22 '13 at 13:48 1 Awsem.Helped a lot.!!! –Anil Bhatiya Jul 3 '13 at 9:29 4 Opensssl always creating issues. Did you had a chance to look at the post here I generated the hash key using the method explained in that post. Join Stack Overflow to learn, share knowledge, and build your career. Click on the Mobile Native section, page will expand and show the section as shown below Update the HashKey in the Android Key Hash Textbox and click save changes. Related Written by Sony Arouje September 18, 2011 at 3:42 am Posted in Android Tagged with Android, Facebook Hashkey, invalid key, key hash, Keytool, Windows Persist domain models in Android usingORMLite ToStringHelper 41 Responses Subscribe to comments with RSS 5a02188284
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment