Android Facebook SDK: generate release key hash

后端 未结 11 1931
执念已碎
执念已碎 2020-12-04 14:49

I\'m building an app in which users can log in with Facebook.

I\'ve created the hash keys like following:

try {
         PackageInfo info = getPackag         


        
11条回答
  •  醉梦人生
    2020-12-04 15:02

    You followed the steps that facebook provides for the creation of a login application?

    You need a 'Production keyhash' obtained starting your release keystore:

    From comand line:

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

    And add this key on facebook app page options.

    More information: https://developers.facebook.com/docs/android/getting-started/

提交回复
热议问题