Key hash for Android-Facebook app

后端 未结 30 3230
误落风尘
误落风尘 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:56

    To get the Android key hash code, follow these steps:

    1. Download OpenSSL for Windows here
    2. Now unzip to the C drive
    3. Open a CMD prompt
    4. Type cd C:\Program Files\Java\jdk1.6.0_26\bin
    5. Then type only keytool -export -alias myAlias -keystore C:\Users\your user name\.android\myKeyStore | C:\openssl-0.9.8k_WIN32\bin\openssl sha1 -binary | C:\openssl-0.9.8k_WIN32\bin\openssl enc -a -e
    6. Done

提交回复
热议问题