matrix-puppet-facebook icon indicating copy to clipboard operation
matrix-puppet-facebook copied to clipboard

Cannot generate appstate.json

Open gvannoye opened this issue 5 years ago • 1 comments

While trying to generate appstate.json with node login.js, I have the following error: ERR! login login-approval If you were sent a code, enter it here. If you were asked to approve your login via another device, approve it, choose "save browser", and just hit enter here>

However, when I connect to facebook.com to get a code or approve the device, it is written that my account is temporarily blocked and when I confirm that it was I who tried to connect, my account is unblocked but I do not receive any code. I tried running this service on a server that I rent, which is in a different town that the one I live in, but in the same country (France).

While searching to debug this, I have found this issue on the facebook-api-chat github that looks a bit like the problem I have. The problem is that the solution to this issue is to use a different library, libfb-js… A solution to my problem could be to implement this library into matrix-puppet-facebook, but I don't know how easy it would be to do that.

gvannoye avatar Apr 02 '19 01:04 gvannoye

I have the exact same problem.

jeena avatar Jul 15 '20 21:07 jeena