facebook authentication error in release.apk in android - android

I have created released apk for my android app. I have created the keystore and signed the app with it. Google Plus authentication is working fine but I am facing problems with facebook authentication.
I am getting the following message while trying to authenticate app with facebook...
I have added the provided keyhash to facebook developers' settings. But still I am getting the same error message.
Can anyone tell me how should I solve this issue?

Goto to developer settings for your app on facebook and add the Key Hashes shown in the above error manually under settings>basic>Key Hashes. Then try running your app

Try this link Facebook android app error : Invalid key hash
I had a similar problem and it turned out that there was an upper case letter I which is similar to lower case letter l, inside this link you will find a code that can get the key hash, use Log to show it inside the console and copy paste it, it will do the trick.

Related

Integrating App with Facebook getting error code #1732910

I am integrating my app with facebook so users can post to their timeline. I had this working previously and I have double checked the app dashboard and compared this to my key hash and app id that i am using and still the user cannot post. The user can log in, but when trying to open the session it stays in opening then changes to close_login_failed. While debugging it, i get the facebook exception and the log in is aborted. I get toast pop up with an error code when the user is using the app that says to contact facebook. The error code is #1732910. I have tried using the keytool from both java 1.6 and 1.7 as well re-downloading the openssl as this worked from some users. However, my key hash remains the same. I have added the debug and the signed release key hashes to the app dashboard and still no luck. Has anyone encountered this issue?

Corona Facebook Login

I had implemented Facebook Single Sign On in my app. Then I discovered it did not work if the user already had the fb app installed on their phone. I resolved this by generating a key hash for facebook, everything worked again. Since then I upgraded my Corona account from trial to the pro version. Now my facebook is not working again. I am still using the Android Debug key when building the apk file, and I have tried the original Hash Key which I had and made another one, but I can't get it to work. Any solutions?
Hy, we had the same.
Steps : Make a tutorial facebook login example with corona.
Try, thats will work with installed facebook app.
After implement facebook login into your app like in example.
That was the resolution for us.
But i cant say nothing exact, i got that app by another developer for some update/bugfixes.
For some reason the reason unknown to me, my Facebook Hash Key changed. I ran "adb logcat" when using my app on the device. In the logcat Facebook will tell you what Hash Key was expected. Copy/paste this into your Facebook Developer page and it works.

Error in Android Faceebook SSO Login

By following the Facebook SDK 3.0 Document for android and developed sample app, but still am getting an error, "'app_name' is miss configured for Facebook login."
I registered my app on fb too,
fb hash key is generated with the help of openssl command.
Did I missed anything here. Please guide me. I can't do login with default fb application.
I do follow this link https://developers.facebook.com/docs/getting-started/facebook-sdk-for-android/3.0/
and create this project, even though getting this error.
Error:'app_name' is miss configured. This error shows that you are not signing the app with the key, whose hashKey is on facebook. Try creating hashKey again, Also add your debug.keystore's key hash into facebook. You can add multiple key hashes on facebook. (A newly added key hash can take few minutes to take effect)
Please check this, I found the solution on facebook developer and solved my issue.

app is misconfigured for facebook login

I am having a lot of trouble with this error:
app is misconfigured to facebook login
I am pretty new to android development and would appreciate any answers I can find.
I have seen many of the same errors here so I followed as best as I could but I still have something wrong. I have checked the hash keys and they seem alright.
My app works when I use the eclipse and my phone, but it does not work when I install from google play.
I have opened Util.java in the Facebook SDK, set private static boolean ENABLE_LOG=true.
I changed the hash key in my facebook console and got the error that the key don't match.
I put the original back and no longer get that error but the app is still misconfigured in Facebook login.
I am sure there is something else wrong on the console but I have no idea what it is or how to fix it. I have been at this for three days now. Can someone please help?
Hi I found that the both the debug and release hash keys had to be added to the facebook developer console. Facebook has a brand new error message that really helps. When the hash key is wrong, there is a message saying what that hash key is!!!!!!!! copy paste into facebook developer console!!!!! YEAH
I think you follow all steps to create your hash key with your command prompt. I also face this issue.
I got a hash key which is different than my LogCat key. For that just connect your device and check your error with LogCat. This throws a Facebook exception like
D/Facebook-authorize(24739): Login failed: invalid_key:Android key mismatch. Your key "uk3udeH7vrOGNFH2FJjdJbdWJWI" does not match the allowed keys specified in your application settings. Check your application settings at http://www.facebook.com/developers
This uk3udeH7vrOGNFH2FJjdJbdWJWI is a sample key. Get your key from your LogCat and change hash key on Facebook apps.
See the accepted answer here:
App is misconfigured for Facebook login: Android Facebook integration issue

Android Invalid Key error, Facebook SDK

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?
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.
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.

Categories

Resources