Key hash for Android-Facebook app

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

    The simplest solution:

    1. Don't add the hash key, implement everything else
    2. When facebook login is pressed, you will get an error saying "Invalid key hash. The key hash "xxx" does not match any stored key. ..."
    3. Open the facebook app dashboard and add the hash "xxx=" ("xxx" hash from the error + "=" sign)

提交回复
热议问题