ehForwarderBot / efb-fb-messenger-slave

EFB Facebook Messenger Slave, a channel for EH Forwarder Bot.
GNU Affero General Public License v3.0
8 stars 0 forks source link

Logging keeps failing #13

Open ideu opened 3 years ago

ideu commented 3 years ago

image I am very sure that I input the password correctly and tried with different new passwords, but it keeps failing. Facebook sent me the security email saying that the logging was using Chrome on Mac OS X 10.10 but my system is 11.1. I am not sure which step might be problematic.

blueset commented 3 years ago

The upstream library fbchat is responsible for the login process. It might be helpful to upgrade it to the latest version (1.9.7).

pip3 install --upgrade fbchat

As far as I know, fbchat is not reporting an OS version in its request headers but only the version of itself. It used to report itself randomly as one of Mac OS 10.10.2 Chrome 42, Mac OS 10.10.3 Safari 8, Windows 8.1 Chrome 42, Windows 7 Chrome 22, Windows 7 Chrome 20, and ChromeOS 20, but it no longer does so in the latest version.

If it still have the same issue after upgrading, unfortunately fbchat has already ceased developing as of this September. There is a replacement to this called fbchat-async but it requires quite a large refactor to EFMS and the entire EFB framework (to include async support). I'll try to look into the migration when I have the time and effort to do so, but no ETA guaranteed.