Seems like a hash generation issue.
Just use this solution -
PackageInfo info = getPackageManager().getPackageInfo("<your_package_name>", PackageManager.GET_SIGNATURES);
for (Signature signature : info.signatures)
{
MessageDigest md = MessageDigest.getInstance("SHA");
md.update(signature.toByteArray());
Log.d("KeyHash:", Base64.encodeToString(md.digest(), Base64.DEFAULT));
}
This uses the standard hash generation provided by facebook.
The same is also mentioned here.
UPDATE:
Although the problem is generally related to the way you are generating the hash and the method where you have placed the facebook login code, I think that there are some good tutorials out there from which you can confirm your outcome. One such is mentioned below.
If you want to check the step by step way of login in to facebook then read the following tutorial using-facebook-sdk-android-development-part-1.