Key hash for Android-Facebook app

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

    Here are the steps-

    1. Download openssl from Google code (If you have a 64 bit machine you must download openssl-0.9.8e X64 not the latest version)

    2. Extract it. create a folder- OpenSSL in C:/ and copy the extracted code here.

    3. detect debug.keystore file path. If u didn't find, then do a search in C:/ and use the Path in the command in next step.

    4. detect your keytool.exe path and go to that dir/ in command prompt and run this command in 1 line-

      $ keytool -exportcert -alias androiddebugkey -keystore "C:\Documents and Settings\Administrator.android\debug.keystore" | "C:\OpenSSL\bin\openssl" sha1 -binary |"C:\OpenSSL\bin\openssl" base64

      • it will ask for password, put android
      • that's all. u will get a key-hash

    For more info visit here

提交回复
热议问题