Open Kevinn5 opened 3 years ago
I did not have this error before. Seems like a problem with your account. Can you log in to the Facebook directly using the official Facebook mobile app?
I’ve tried it with two different accounts and got the same error. Only when I tried it with two factor authentication it worked. I can login to the account from a web browser.
Hmm... Interesting. Because I don't have this error with account without second factor. Did you compile source code by yourself?
Yes, just built it in Xcode without changing the code.
Okay, then you can modify loginFirstFactor
function to call the postURL
with logging and caching enabled
appState.networkManager?.postURL(urlComponents: components, withToken: false, logNetworkActivity: true)
Login request and response will be logged to console and Application log. That might help to investigate the issue. Please note that your login and password will appear in cleartext in logs.
Thanks. I’ll check it and update.
Thank you for your help. Console logs below:
I have tried to resend this request with my test account and it works without errors. After a bit of googling I found that this might be the problem with the network you use to access Facebook. Try to switch the network provider, or turn on/off a VPN. Also as the error suggests, you can log in to the Facebook directly and verify your account.
The account is verified, each time i use your app to login, my account gets locked and i need to change password and re-activate it. Also, tried it with VPN (from US) and got the same error. Tried it with another facebook account and got the same error.
This app uses the same API that is used in the official mobile and web clients. Some of the requests are simplified with removed trackers and unnecessary fields. That might cause Facebook to think that this is not a real Facebook application, or may be they already know about this app and added some kind of detection. What you can try to do is to enable second factor, then you probably will not receive so much alerts and will not be forced to change your password.
Each time i'm trying to login with my Facebook credentials I get error 405: User must verify their account on www.facebook.com Account Temporarily Unavailable
Do you know why? Thanks