Facebook sdk 3.0 android

后端 未结 3 1721
走了就别回头了
走了就别回头了 2021-01-07 08:46

I have gone through the tutorials on developer.facebook.com for basic hello world facebook app for android countless times to make sure im not making a mistake but I get the

3条回答
  •  [愿得一人]
    2021-01-07 09:29

    SOLVED.

    The hash value was wrong. It seems to be a windows problem or failure on human end. I used:

    "location of keytool.exe" -exportcert -alias alias -keystore "location of keystore" | "location of openssl.exe" sha1 -binary | "location of openssl.exe" base64

    and got the wrong hash value. Anyways found this post

    http://p-xr.com/implementing-facebook-into-your-app-invalid-key-with-keytool/

    downloaded and ran the keygeneration application and got the hash value out of the logcat. This is great for debug key but unsure about when releasing your program out into the wild

    Hope this helps

提交回复
热议问题