Take the 2-minute tour ×

I have gone through the tutorials on developer.facebook.com for basic hello world facebook app for android countless times to make sure im not making a mistake but I get the error "remote_app_id does not match stored id" but it does match and not sure why it is throwing that error. Also when i run the samples i get a failed binder transaction. Now whats strange is if i uninstall the fb app on my phone and force the user to sign in to facebook the basic hello world app works. Am I doing something wrong or is this a facebook sdk problem. I have already downloaded and reinstalled everything but still getting the same problem

share|improve this question

3 Answers 3

Another possible error (which happened to me) is: to set up a "Key Hash" at Facebook App Console and to sign the android app using another keystore.



  1. default android debug key:


  1. your application release key:




share|improve this answer


try {
PackageInfo info = getPackageManager().getPackageInfo("com.eatapp", PackageManager.GET_SIGNATURES);
for (Signature signature : info.signatures) {
    MessageDigest md = MessageDigest.getInstance("SHA");
} catch (NameNotFoundException e) {

} catch (NoSuchAlgorithmException e) {


in your main Activity :-) This is the only solution it works for me for Android SDK 3.0

share|improve this answer


The hash value was wrong. It seems to be a windows problem or failure on human end. I used:

"location of keytool.exe" -exportcert -alias alias -keystore "location of keystore" | "location of openssl.exe" sha1 -binary | "location of openssl.exe" base64

and got the wrong hash value. Anyways found this post


downloaded and ran the keygeneration application and got the hash value out of the logcat. This is great for debug key but unsure about when releasing your program out into the wild

Hope this helps

share|improve this answer
if you use the snippet change Log.i("PXR", Base64.encodeToString(md.digest(), 0)); –  user1892172 Dec 17 '12 at 21:57

Your Answer


