Facebook API key hash - debug and release
I've integrated Facebook to my App, created a valid hash key and saved the key on facebook. I used a different key for debug and release. When I released, I had to regenerate the key hash from the release keystore.
No开发者_StackOverflow中文版w I cannot log in to facebook using the debug key. Anyone know how I could still use the debug version as well as the release version?
Just doing this myself, and discovered that this was already answered here: Android Facebook single sign-on - multiple key hashes possible?.
All you need to do is add (paste) both key hashes into the FB configuration for your app, and you should be all set.
精彩评论