fbchat icon indicating copy to clipboard operation
fbchat copied to clipboard

Facebook Chat (Messenger) for Python

Results 109 fbchat issues
Sort by recently updated
recently updated
newest added

``` import fbchat # Log the user in session = fbchat.Session.login("xxx", "xxx") print("Own id: {}".format(session.user.id)) # Send a message to yourself session.user.send_text("Hi me!") # Log the user out session.logout() ```...

Should I save cookies everytime like after minutes? or reuse the very first cookies? ![image](https://user-images.githubusercontent.com/63306183/83609355-c4096a80-a5b0-11ea-83dd-650da80aa03c.png)

I'm new to fbchat 2.0.0a2, I didn't get any problems from using 1.9, I don't know if it's just me being a dumb or just not knowing a Important info...

I use fbchat to send a message, it works fine but when it doesn't find the person we get a FBchatException. I do not know how to make it possible...

Failed on url: https://m.facebook.com/checkpoint/?_rdr Someone recently tried to sign in to your account from an unrecognized browser on a computer or mobile device. Because you set up two-factor authentication, your...

Is there a way to get a loading progress? like this: print((client.sendRemoteVoiceClips(ytd,thread_id=thread_id,thread_type=thread_type)).progress) or thomething?

Everytime I login with Client (email, password) I get checkpoint. this is my code: e = input('Enter Email: ') p = input('Enter Pass: ') #getpass fbchat._util.USER_AGENTS = ["Mozilla/5.0 (Macintosh; Intel...

Hi, today I tried to start my script, but it doesn't use session.json. Instead It tries to log in(fbchat.Session.login), but with Exception: Found too many ServerJSDefine. I didnt edit anything.....

Hi, I try to send a message on messenger with fichât library. I'm with Python 3.9 `session = fbchat.Session.login(username, password)` `session.user.send_text("Hi me!")` `session.logout()` I try just this little part of...

I'm getting error: fbchat._exception.FBchatUserError: Login failed. Check email/password. (Failed on url: https://m.facebook.com/cookie/consent-page/?next_uri=https%3A%2F%2Fm.facebook.com%2Fhome.php%3Frefsrc%3Dhttps%253A%252F%252Fwww.facebook.com%252F&_rdr)