Reputation: 1010
I have created an Android application that uses Facebook SDK
to make wall posts. It works fine on devices that don't have the native Facebook App installed, but when it is, it throws an Invalid Key error.
I have checked all the settings & keys from my facebook application and my device code twice and all is setup right. What do I need to do to resolve this issue?
Upvotes: 1
Views: 551
Reputation: 1897
This is the problem because of the hash key. You ca find out the hash key of your app from this link
Facebook Integration in Android Application
and can update it in facebook app.
Upvotes: 0
Reputation: 2559
You received this error because of wrong hash calculated on your app. During application execution calculated hash value is send to facebook. If value is different from value you set in facebook developer profile - problem. If you cannot calculate correctly - read it from error message and put it to facebook developer profile. I made the same.
Upvotes: 1