Open gave92 opened 4 years ago
Thanks for the report, the first bit is indeed a typo, I've fixed it in 3c0f411be7878ca41e2e920fc22a0ba87ce0e09b. I'll look into the other issue in a bit
Just saw the comment about 2fa "Only tested using SMS, might not work with authentication applications." I was indeed using google authenticator 😅 Edit: just tried with SMS.. same issue
Issue still exists with version 2.0.0a4. The account I'm using is a facebook whitehat/test account, does that make a difference?
Yeah, still working on this, sorry for the long delays.
The bit about the test account might make a difference, I don't know 🤷.
I'll try to record what I've figured out so far:
act
cookie, but that doesn't seem to be enough.https://www.messenger.com/login/checkpoint_interstitial
twice) - but Facebook never asks for a 2FA code repeatedly (which it does if we try to run the 2fa logic repeatedly)
Description of the problem
Logging in fails when 2FA is enabled.
Code to reproduce
Traceback
Environment information
fbchat
version v2.0.0a3Findings
Changing this line https://github.com/carpedm20/fbchat/blob/078bf9fc16ff00368378545c7c94f10766febd54/fbchat/_session.py#L135 To
helps a bit, I get prompted for the 2FA code and it goes through
but then..
I get the checkpoint url again like I'm stuck in a loop :(