Tuesday, 12 August 2014

How to get facebook integration app id in android

this is for testing method. while going for live, change live upload keystore instead of debugkeystore

C:\Program Files (x86)\Java\jdk1.6.0_01\bin>keytool -exportcert -alias

androiddebugkey -keystore "C:\Users\suresh\.android\debug.keystore" | "D:
\harikrishnan\example programs\fb integration\openssl-0.9.8k_WIN32\bin\openssl.exe"
sha1 -binary | "D:\harikrishnan\example programs\fb integration\openssl-
0.9.8k_WIN32\bin\openssl.exe" base64
Enter keystore password:  android
PJwlSLUFRDgdTOukCDBPzjwLfXI=

C:\Program Files (x86)\Java\jdk1.6.0_01\bin>


app id : 675547132491488t=

//--------------------------------------------------------------
when release application in google live

keytool -exportcert -alias <RELEASE_KEY_ALIAS> -keystore

<RELEASE_KEY_PATH> | openssl sha1 -binary | openssl base64

take key from-- release keystore file.....

//--------------------------------------------------------------

1 comment:

  1. Thanks for sharing this tutorials, It is very useful . I was searching this code many few android developer forum but finally found in this blog. I have used above code is working very fine.. Thanks for sharing.

    ReplyDelete