Key hash for Android-Facebook app

后端 未结 30 2715
误落风尘
误落风尘 2020-11-22 01:17

I\'m working on an Android app, in which I want to integrate a Facebook posting feature. I downloaded the Facebook-Android SDK, and I got the readme.md (text file) in there,

30条回答
  •  死守一世寂寞
    2020-11-22 01:55

    • download openSSL for windows in here you can find 64bit and 32bit here

    • extract the downloaded file

    • create folder name openSSL in C drive
    • copy all the extracted items in to openSSL folder (bin,include,lib,openssl.cnf)
    • get android debug keystore, default location will be

    C:\Users\username\.android\debug.keystore

    • now get your command prompt and paste this code

    keytool -exportcert -alias androiddebugkey -keystore C:\Users\username.android\debug.keystore | "C:\openSSL\bin\openssl" sha1 -binary | "C:\openSSL\bin\openssl" base64

    • hit enter and you will get the 28 digit keycode

提交回复
热议问题