dequis/purple-facebook

Login Approvals

Opened this issue · 6 comments

I keep getting this after compiling and installing the latest version on Pidgin, ubu 20.

Login approvals are on. Expect an SMS shortly with a code to use for log in (406)

I never get an SMS sent to me. I went into facebook and accepted the new browser sign in too.

I've just installed Pidgin for the very first time, and installed this and only this plugin, and I too am immediately getting this exact issues.

[Edit] - I eventually got a SMS from Facebook, but still no where to enter the code.

DMJC commented

Currently this plugin has to be paired with a Python script which generates some data which needs to be injected into ~/.purple/accounts.xml (The login code request is used by the script.), there are no devs actively working on fixing the code to get rid of the script and integrate it's functions into the client. End to End encryption is also breaking the chats. If you know howto program in C I'd suggest making some patches and submitting a pull request. I'm not a part of this project, I did some research into it. Facebook also has their own TLS 1.3 compatible library, I'd look at integrating that into the plugin. From some of the posts made by existing maintainers it looks like this plugin could use a refactor or complete rewrite.

@DMJC do you happen to have a link to this script?

Edit: I found the latest script version.

@DMJC do you happen to have a link to this script?

Edit: I found the latest script version.

Care to share with the rest of the class?

DMJC commented

The script was from a github repository, I never got the logins to work. I haven't touched this code/project for months now. It's beyond my skills.

DMJC commented

This has been implemented in my Repo. Tested and working! I can login and message people. E2E encryption is not implemented atm. I don't need to enter an MFA code, I just approve the sign in from Facebook.