Key hash for Android-Facebook app

后端 未结 30 3341
误落风尘
误落风尘 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 generate a hash of your release key, run the following command on Mac or Windows substituting your release key alias and the path to your keystore.

    On Windows, use:

    keytool -exportcert -alias  -keystore  | openssl sha1 -binary | openssl base64
    

    This command should generate a 28 characher string. Remember that COPY and PASTE this Release Key Hash into your Facebook App ID's Android settings.

    image: fbcdn-dragon-a.akamaihd.net/hphotos-ak-xpa1/t39.2178-6/851568_627654437290708_1803108402_n.png

    Refer from : https://developers.facebook.com/docs/android/getting-started#release-key-hash and http://note.taable.com

提交回复
热议问题