Quantcast
Channel: Intel Developer Zone Articles
Viewing all articles
Browse latest Browse all 3384

Facebook* Android* keyhash

$
0
0

When creating an application that uses the Facebook SDK, you need to provide the keyhash for your application.  You can find more information from Facebook about the keyhash here .

To generate the keyhash from your application built with the Intel® XDK, use the following steps.

First make sure you have the Java SDK installed.  This provides the keytool application we need.  Next, downloaded your APK to your PC if you have not done so already.  We need to run keytool against the APK you are submitting to the store.

Run the following command 

keytool -list -printcert -jarfile _apkname_.apk

You will see something like the image below.  Copy the SHA1 value to your clip board.

keytool

In the screen shot below, the SHA1 one value is CD:A1:EA:A3:5C:5C:68:FB:FA:0A:6B:E5:5A:72:64:DD:26:8D:44:84

Next, head over to http://tomeko.net/online_tools/hex_to_base64.php to convert your SHA1 value to base64.  This is what Facebook requires.  In the above example, we get zaHqo1xcaPv6CmvlWnJk3SaNRIQ= as our keyhash.  Enter that in the forms at Facebook and your Android Application will now have access.

 

 

 


Viewing all articles
Browse latest Browse all 3384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>