Integrating App with Facebook getting error code #1732910 - android

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?

Related

facebook authentication error in release.apk in 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.

Can not login after logout facebook for release apk Android

I create an Android apps with Facebook Login. For debug apps i have no problem, login successfully, but after i create apk for release my apps generate different Key Hash (i'm using openssl to generate it) , for first login it was success, but after logout it cant login again with message "invalid key hash", which is it the different Key Hash what i mean before.
I copied the key hash into my facebook apps setting, its still invalid, but after i remove the apps from setting in Facebook Web, and login again it was success, but after logout and login again its come back to invalid key. I have no clue with this problem, i was search it anywhere and cant solve it. Anyone can help me?
Paste your SHA-1 from the signed app in this online converter - http://tomeko.net/online_tools/hex_to_base64.php , and the resulted output add to the hash you already added (the debug) to your Facebook developer page, after that there shouldn't be problems.

getting facebook hash key error in cordova facebook connect

I am getting facebook hash key problem for facebook applicxation in cordova facebook connect.
Application is working fine if it does not have the facebook application on mobile or emulator. But with faceboiok application it shopws the hash key error.
I deleted application created new application all steps i did right but stll it showing the old hash key which is not exist over there. The hash key which is showing in the image is not present in app settings in facebook app.
from last two hours i am stucked on this problem.
Wihout facebook application its not detecting my facebook profile when sign in with facebook.
So its not able to recognize the my facebook profile. Thats why i am not able to fetch the facebook user details and not able to enter in to application.
One thing that gave me the same error:
It turned out that I was using the 32bit version of OpenSSL (openssl-0.9.8e_WIN32) instead of the 64 bit one (openssl-0.9.8e_X64) to create my key hash, and it was creating an incorrect key hash from my certificate (the key hash you upload to your Facebook app's dev page). I wouldn't have thought the 32bit one would do it differently on a 64 bit machine, but as soon as I uploaded the new hash, Facebook login worked fine.

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

Login Failed: invalid_key: Android Key mismatch

I get this error when i click the login button of facebook in my android application
"Login Failed: invalid_key: Android Key mismatch. Your key "YLYMBqpjl/OenePeQNf4DORUfR8" does not match the allowed keys specified in your application settings, check your app settings at www.facebook.com/developers"
I have gone through link: http://sean.lyn.ch/2011/07/android-the-facebook-sdk-sso-and-you/
and many more, and found out that when using android-facebook sdk on a device (it works fine on emulator) if there is a facebook application already installed on that device it gives this error. to solve this generate a hash key and add it to the facebook application settings, which i did properly, but still i get the same error.
where does this key - "YLYMBqpjl/OenePeQNf4DORUfR8" come from in my error message??
it was working fine on emulator, i could login and post on my wall and get userID, email etc...but on device i get this error
Your key is : "YLYMBqpjl/OenePeQNf4DORUfR8"
paste this key in Native Android App Which Mark as a green Border.
#archie.bpgc it is because you are using the same key which tute uses to authenticate your app with facebook. if you have registered your app on facebook then you will find key for your application on homepage of your registered app.
check this image it shows on top app id
http://i48.tinypic.com/2nas9i0.png

Categories

Resources