Key hash for Android-Facebook app

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

    Solved mine too in Android Studio but with slight different approach.

    To get the SHA-1 value in Android Studio.

    1. Click Gradle
    2. Click Signing Report
    3. Copy SHA-1

    1. SHA-1 value look like this CD:A1:EA:A3:5C:5C:68:FB:FA:0A:6B:E5:5A:72:64:DD:26:8D:44:84

      and open http://tomeko.net/online_tools/hex_to_base64.php to convert your SHA1 value to base64. This is what Facebook requires get the generated hash " ********************= " and copy the key hash to the facebook app console.

    Part of this answer taken from here Github Link

提交回复
热议问题