1

I checked the Hackbook code in Facebook SDK 3.0 - samples and I get the error as if the app is misconfigured, when the official Facebook app is installed. If I delete the official installed Facebook app it works fine.

Similarly I have this error for my app too. I have checked the keyhashes in the Facebook app dashboard.

Enter image description here

I went through Stack Overflow Android Facebook authorization - can not log in when official Facebook app is installed, but it took me to the webdialog, but I want to use as native app and don't want to use WebDialog.

I went through https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/ and configured all the details in the Facebook App Dashboard.

I have been searching for more than a week and I could not get any solution. I don't know where I am going wrong. Any related answers are welcome.

Community
  • 1
  • 1
VIGNESH
  • 2,023
  • 8
  • 31
  • 46

2 Answers2

1

If you are trying to upload your app on Google Play or if there is the default Facebook App is installed in your phone, then you need a different KeyHash. Because, when you developed your Facebook app you have registered your Facebook app with a key hash which is created by using the default debug.keystore.

So, now you need a different KeyStore to generate the different KeyHash. You need a signed KeyStore, which you get by the help of this tutorial. After generating a new keystore, generate a key hash and register your Facebook app with this new key hash. This should work.

EDITED:

You should check your .apk key hash to be sure you have registered with this key hash. You should check out these: Key hash for Android-Facebook app and App is misconfigured for Facebook login - not returning the logcat, after setting ENABLE_LOG to true in util.java.

Community
  • 1
  • 1
Shoshi
  • 2,254
  • 1
  • 29
  • 43
0

you need to get different Hash Key and paste in facebook developer app configuration profile then try to login..

Karthi
  • 756
  • 4
  • 16
  • different Hash key ? - i am getting the key of my app's keystore file only . sorry i could not get you – VIGNESH Feb 19 '13 at 09:28