Key hash for Android-Facebook app

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

    As answered on a similar issue i found this to be working for me:

    • Copy the apkname.apk file you want to know the hash of to the 'Java\jdk1.7.0_79\bin' folder
    • Run this command keytool -list -printcert -jarfile apkname.apk
    • Copy the SHA1 value and convert it using this site
    • Use the converted Keyhash value (ex. zaHqo1xcaPv6CmvlWnJk3SaNRIQ=)

提交回复
热议问题