bitlbee/bitlbee-facebook

Login error 405 (related to #105)

Opened this issue · 8 comments

isene commented

Digital Ocean had an emergency reboot of my droplet server, so I had to reconstruct my weechat setup (with bitlbee). I got my IRC channels up and Slack, Twitter and Discord via Bitlbee works just fine. But not Facebook.

I run Ubuntu 16.04, Weechat 2.8, BitlBee 3.6-1+20200507+master+26-gb8b931da-git , bitlbee-facebook 20190203c76b36b331.

I have done:

account facebook del
account add facebook <user> <password>
account facebook on

I get:

@root │ facebook - Logging in: Authenticating
  `-> │ facebook - Login error: User must verify their account on www.facebook.com (405)
  `-> │ facebook - Logging in: Signing off..
  `-> │ facebook - Logging in: Reconnecting in 405 seconds..

I then go to facebook and click YES to verify that it was me logging in from an unusual location. But the same thing happens when it tries to log in again.

I have also tried a facebook app password, but the same thing happens. I have also tried to log in to facebook directly from the server with w3m and verified that the login is indeed me (going through sending of a 6 digit code). But that didn't help.

I am stuck.

Yeah digital ocean is probably banned. You'll have to find another IP range.

isene commented

But it surely wasn't banned overnight just as my server went down for a few hours, or?

Just adding that I've tried 3 different IPs, even the one which is the same as my VPN that I used on my machines to login to facebook, and this issue still happens. Been having the issue since May.

isene commented

Since I opened this issue, I have not been able to log in once. I have given up on using bitlbee-facebook - unless someone reports revolutionary news here..

This is happening for me even if I'm running bitlbee on the same machine as my browser. Looks like Facebook banned all third-party apps even when using a generated application password for Bitlbee.

TRPB commented

FYI, libpurple-facebook still works in pidgin so it's not all third party apps that are blocked.

@TRPB it does indeed, i decided to try and use FB_ORCA_AGENT from the pidgin library and voila, it fixed it; I have a PR open #213. You can compile the branch from my fork and test it out

@gmartsenkov your user agent trick fixed the issue for me - thanks!