Closed dbaccello closed 3 years ago
Are you able to login on https://mbasic.facebook.com/? Sometimes facebook wants some additional information for security purpose. And do you have 2FA disabled?
Are you able to login on https://mbasic.facebook.com/? Sometimes facebook wants some additional information for security purpose. And do you have 2FA disabled?
I'm having the same issue, I first tried on Win 10 and it just exited, I then tried it on Ubuntu-20.04 using WSL and I get the same response as original poster here.
I don't have 2FA and am able to login on the mbasic URL.
-edit- The first time I entered the wrong password and then it posted the same error so I think it has something to do with the login process
I checked the facebookLoginUrl in the source code and it sends me to a page where I can choose my saved account, I'm not familiar with GO but I think the login function is trying to enter form data but there is no form. Maybe the facebookLoginURL needs to be changed to https://mbasic.facebook.com/login/?ref=dbl&fl (this is the URL when clicking Log in to another account on the original URL page) ?
-edit2- Nevermind I tried changing it and running it but it doesn't work, not sure if I did it properly I tried it with the cloning method from your readme, again I'm not familiar with GO.
Hm, yes, I'm also having the problem. When I'm observing the network requests while logging in using a browser, it looks like the old login URL and parameters are still used.
But something was definitely changed. It's probably related to this saved account selecting. I can not remember that this existed when I implemented this. I'll try to look into this in the next days.
The error also references line 102 so it might be the cookiejar thing
I just tried to understand the login process. What I saw is that everytime I'm deleting the cookies in my browser and login with the correct email and password, it responds with
Your Request Couldn't be Processed
There was a problem with this request. We're working on getting it fixed as soon as we can
The response headers include some new cookies. Afterwards, I'm able to login successfully.
I didn't manage to login using curl/go yet. They probably expect some additional request headers or form data.
Ok, I managed to login using curl.
Login should work now. I also updated the binaries.
It seems to be working now, thanks for the fix!
Thanks it also works to me on Ubuntu 20.10
`xxxxxxxxx@xxxx:~/Downloads$ ./deleter-linux ? Please type your email xxxxxxxxxxxxxxxx ? Please type your password ***** Attempting Login... panic: Failed to login
goroutine 1 [running]: main.newFbLogin(0xc000097010, 0x0) /Users/marceljankrift/facebook-delete/deleter.go:102 +0xdd main.main() /Users/marceljankrift/facebook-delete/deleter.go:394 +0x42`