unity3d - Facebook Plugin in for unity, key hash incorrect -
unity 5.3.0 facebook plugin 7.3.0
i trying log on facebook in unity app. doing development build @ point , not signed release build. in editor, facebook settings shows 1 key hash value. when build , run app on device, login fails following message:
[ 01-05 15:32:12.551 6001: 6001 v/com.facebook.unity.fb ] exception during service com.facebook.http.protocol.apiexception: [code] 404 [message]: key hash different_key_hash= not match stored key hashes. sending unity onlogincomplete({"error":"invalid key hash. key hash different_key_hash= not match stored key hashes. configure app key hashes @ http://developers.facebook.com/apps/12345678909876","callback_id":"1","key_hash":"different_key_hash=\n"})
the key hash in message different 1 in unity editor. had both key hashes added facebook developer's console. still above error message.
why there 2 different key hash values, 1 displayed in editor , 1 in logcat? problem? 1 correct? why error continue after facebook developer console has been updated?
logcat's 1 correct. use this. put editor key hash in facebook app, check log, add key hash too. :)
double check key hash (log's one).
paste log in answer too, if possible.
but answer log's key hash should work.
Comments
Post a Comment