From cf0e1e3a931bbcb43687b4887517346fc3a1b766 Mon Sep 17 00:00:00 2001 From: Mads Marquart Date: Sun, 7 Jun 2020 12:37:36 +0200 Subject: [PATCH] Test on_2fa_callback with authentication applications --- fbchat/_session.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fbchat/_session.py b/fbchat/_session.py index 6749ce7..652664d 100644 --- a/fbchat/_session.py +++ b/fbchat/_session.py @@ -246,7 +246,9 @@ class Session: on_2fa_callback: Function that will be called, in case a two factor authentication code is needed. This should return the requested code. - Only tested using SMS, might not work with authentication applications. + Tested using SMS and authentication applications. If you have both + enabled, you might not receive an SMS code, and you'll have to use the + authentication application. Note: Facebook limits the amount of codes they will give you, so if you don't receive a code, be patient, and try again later!