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.
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
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.