Im getting a login error every time I try to login to my application using the facebook sdk. So when the user gets to the home page they can choose to login with their facebook credentials. When they hit the facebook login button it brings up the user name and password screen, which they then type in their credentials and press done. Now here's the issue, well since it wasn't happening before, when they hit done facebook returns an error stating "LOGIN FAILED: You can't use facebook to log into this app or website because there's an issue with its implementation of Facebook login". I get this every time I try and login using the facebook sdk.
Im using FBSDKCoreKit, FBSDKLoginKit, FBSDKShareKit 4.41.0 and FacebookCore, FacebookLogin, FacebookShare 0.5.0 and Swift 4.0
EDIT ***.
Does anyone know how I can find the error being returned from the facebook login request. The issue is this error message that is showing is appearing in the facebook application before it returns to my application. SO I cant even see the error that is being returned. I checked the response in Xcode when the debugger continued and there is no error
EDIT 2:(In response to the first comment)
The application was already set up to use the facebook sdk and it was working fine. It just recently stopped working.
EDIT 3:
So I Ended up having to update the sdk to the newest versiom and replace the old apis with the new apis they created. So I changed everything out and here comes another problem. I try and login with an account I just created on facebook and it still gives me the same error. Yet, if I try and login with an account that has been previously logged into the application using facebook. I get a successful response and im able to continue on with the application. So I dont get why that new account isn't able to login? Is it because the account is too new?
I AM getting the same error as you. Facebook login has been working since the app was created. Now when I try and login after updating the Facebook SDK, I get no error only "Something is wrong with the implementation" what's weird is if someone has already logged in through facebook the facebook login works correctly.
This is because you haven't set up your app. go to https://developers.facebook.com -> My Apps -> add your app then follow the steps for login.
That should resolve it!
Related
I have an Unity application using Facebook SDK for user to link their account. Everything works in Android. But in iOS, the login page keep redirecting to the previous page which asking me to login even I press "Continue".
https://youtu.be/nGs8jiaI24s
I have found that there is a post asking the same question. But the solution does not work for me.
Unity Facebook SDK is keeping on asking me to confirm login every time I login to my game
In my case, FB.IsLoggedIn return false so loginWithReadPermission is still being called and user fall in the loop between login and continue.
Are there any method to solve it, or at least get the error message?
I just tried implementing the Facebook login to my app and when I went to log in I got the "App Not Setup: This app is still in development mode..etc" but the issue I am having is that I believe I entered the wrong email (not my admin) email but am stuck on this error page. Does anyone know how I can get back to the login page???
I have tried rerunning my app and I don't want to make my app public yet.
Is this in the simulator? Try deleting the app off the simulator and rebuilding/rereunning the app as that should present the login flow again and you can ensure you enter the proper email.
I'm upgrading Facebook SDK from 3.x to 4.x and need to log in as different Facebook users to my application (game) in order to check if FB requests work correct.
In 3.x login dialog switched to FB application, so I could change the user in the FB application and got new credentials for my login. Now I only got "You have already authorised..." message in a Safari-view login dialog.
I changed user in FB application several times as well as uninstalled my application in order to clean its local cache - nothing helps. My application always logs in as User 1, even if I logged in as User 2 in FB application.
How can I login as a different user (clear saved token, got a credentials dialog or something else)?
You need to log in fb from Safari and exit the user =)
I'm trying to implement facebook login using quickblox API.
I was running sample app and it works fine for me. But when I'm trying to provide my application info something weird happens: I see facebook login dialog but when I'm trying to login I receive 422 or 401 error. I think there might be some issue with setting up facebook application but I can't get which params should I setup in facebook admin. Can someone point me what fields should be filled and with what values? Information on regular quickblox guide seems to be outdated.
Here is a guide how to setup the Facebook application for QuickBlox.
I'm working on connecting an app to Facebook using the Facebook SDK for Unity. The process seems to be working fine except sometimes if a new user tries to use Facebook to login the FB.Login() doesn't ask them for permission to use their birthday and email.
Im using this call for the login:
FB.Login("email, user_birthday", AuthCallback);
and in the Facebook app dashboard, under permissions I added email and user birthday.
What seems to be happening is the first time the user goes to use the Facebook connect and hasn't ok'd the permissions on the login yet when they sign in a dialog pops up in the Facebook webview as them to authorize my app for "friends list and public profile" they hit ok and then my login process fails because I need access to the birthday and email. If they hit my login button again then the FB.Login() function runs again bringing up a second dialog asking for permission to use email and birthday, after they ok this my own login works fine. The other option is to hit the home button on the device reopen the app hit the Facebook connect button again and this time the authorization dialog has all four options "public profile, friends list, email, and birthday"
I followed the docs at https://developers.facebook.com/docs/unity/ for the connect process so I'm not sure where I went wrong.
Any insight into this would be helpful. Just unsure of where to continue looking I have exhausted most of my debugging avenues but I'm new to the Facebook scene, so it's possible i missed something.
Thanks for any help in advance.
EDIT** I'm using Facebook SDK version 4.2.1 and Unity 4.2.0f4