This is very major problem, while work with Facebook SDK and it means which keyhash you have generated that is wrong:
Please follow below steps:
- Project (RightClick) > Android Tools > Export Signed Application Package
- Export Android Application : Select Project > Next
- Create New Keystore > Select Location to Save and give name as Project.keystore > Enter Password | Confirm Password
- Key Creation- Enter Alias Name, password, Validity, Organisation Name > Next
- Select path to save apk file, name it as Project.apk > Finish
Now follow below steps:
- Download OpenSSL and save it into C:/
- Copy all DLLs files from OpenSSL folder
- Browse Java bin folder and paste these DLLs here along with keystore (Project.keystore)
- Now open command prompt and follow this tutorial link:
www.helloandroid.com/tutorials/using-facebook-sdk-android-development-part-1