Weetbix / facebot

Slackbot for facebook messaging integration in slack
MIT License
93 stars 21 forks source link

Support for 2fa authentication #3

Open TJuberg opened 8 years ago

TJuberg commented 8 years ago

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 commented 8 years ago

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 :+1:

Seidak commented 8 years ago

Hi, any updates about 2fa?

Thanks!

Seidak commented 8 years ago

no news? :(

stefek99 commented 7 years ago

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 commented 7 years ago

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