Key hash for Android-Facebook app

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

    For Linux

    Open Terminal :

    For Debug Build

    keytool -exportcert -alias androiddebugkey -keystore debug.keystore | openssl sha1 -binary | openssl base64
    

    you wil find debug.keystore from ".android" folder copy it from and paste on desktop and run above command

    For release Build

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

    NOTE : Make sure In Both case it must ask for password. If it does not asks for password that means something is wrong in command.

提交回复
热议问题