Facebook Login and Post To Wall works for first time only

*爱你&永不变心* 提交于 2019-12-03 21:46:02

Same issue was solved by following steps:

METHOD 1

Goto Cmd : then C:\Program Files (x86)\Java\jdk1.7.0_02\bin (use your path)

1) Generate Debug key

keytool -exportcert -alias androiddebugkey -keystore ~/.android/debug.keystore | openssl sha1 -binary | openssl base64

3***W/****************=  (require debug key)

2) Generate Hash Key

keytool -exportcert -alias 3***W/****************= -keystore "C:\Users\Smartphone Developer\.android\debug.keystore" | openssl sha1 -binary | openssl base64

*******+************= (require hash key)

Note: if hash key gives error, then copy paste the same hash generated by FaceBook in exception & add "=" in the end..

VALID HASH FOR FACEBOOK = ***************/a*0=

Edit: Download Openssl & place the folder like C:\OpenSSL

UPDATE 1 (step vise): After placing Openssl folder in C drive, open cmd & write commands:

METHOD 2

step 1

C:\Program Files\Java\jre7>bin

step 2

C:\Program Files\Java\jre7\bin>keytool -exportcert -alias androiddebugkey -keyst
ore "C:\Users\Smartphone Developer\.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha
1 -binary | "C:\OpenSSL\bin\openssl" base64

Enter keystore password: android

u***ZT***T***2t***bU*Fj***w=

step 3

    C:\Program Files\Java\jre7\bin>keytool -exportcert -alias u***ZT***T***2t***bU*Fj***w=
 -keystore "C:\Users\Smartphone Developer\.android\debug.keystore" | "C:\OpenSSL\bin
    \openssl" sha1 -binary | "C:\OpenSSL\bin\openssl" base64

Enter keystore password: android

d*W+i***9/6vs***nP***CF***g= (Required Hash)

if you downloaded the correct openssl then it must work, its a tested procedure..

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!