Android + Facebook Connect not working in release build

后端 未结 4 1991
野趣味
野趣味 2020-12-21 15:28

I have an Android application that allows the user to connect to his Facebook account and automatically make a post on his wall.

All this is perfectly working with t

4条回答
  •  南方客
    南方客 (楼主)
    2020-12-21 16:20

    To make facebookConnect work with an android release build you need to create a reference to the keystore file, which you have used for signing your app.

    on a mac:

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

    on win:

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

    the output should be set in Android -> Key Hashes in Facebook settings

提交回复
热议问题