Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for 2fa authentication #3

Open
TJuberg opened this issue Mar 17, 2016 · 5 comments
Open

Support for 2fa authentication #3

TJuberg opened this issue Mar 17, 2016 · 5 comments

Comments

@TJuberg
Copy link

TJuberg commented Mar 17, 2016

I'm trying to set this bot up with my facebook account, however I'm running into an issue with it not being able to handle login with two factor authentication.

Judging from the documentation at https://github.com/Schmavery/facebook-chat-api/blob/master/DOCS.md#login this can be done, but it seems some modification to the current calls will need to be made.

I'm not proficient in JS or the Q module which is being used to call the facebook chat api.

The error specifically from the log is

info Logging in... 
ERR! Error in login: login-approval

/home/facebot/node_modules/facebot/node_modules/q/q.js:155
                throw e;
                ^
[object Object]

Authorizing it via the browser does not help to bypass authentication as facebot does not seem to store any cookie (postgresql) so it will be seen as a new browser on every start.

@Weetbix
Copy link
Owner

Weetbix commented Mar 31, 2016

Hi Tjuberg,

Sorry I've been in india for the last month, I'm getting back next week and I'll have a look at this 👍

@Seidak
Copy link

Seidak commented Jul 6, 2016

Hi,
any updates about 2fa?

Thanks!

@Seidak
Copy link

Seidak commented Oct 11, 2016

no news? :(

@stefek99
Copy link

Of course I'm using 2FA, I just wanted to open an issue asking how to do it and I'm not the only one...

@777adventures
Copy link

So it seems that while 2FA is Convenient for Security... it's not as Convenient for Automation or Productivity lmao, What a Bugger!!
#DivineComedy #ProperPerspective #DivineFriendship | 777ADVENTURES
bitmoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants