fbchat
fbchat copied to clipboard
Facebook Chat (Messenger) for Python
## Description Well, what i'm suggesting is something that many times thought of suggesting to other projects too, but this one i find especially interesting and so i do it....
## Description of the problem Not able to fetch audio/video call duration with a user. Can you please guide me.
## Description of the problem I am very very new to this but am really keen to access my own FB messenger account to do some basic analysis. I am...
Hello, How can I retrieve past messages from Hidden Conversations? Thanks.
Added sender_id to class ReactionEvent I added this feature because couldn't find a function to fetch informations about a message id, to be exact, the author of the message like...
Logging fails with specific user. I am not using client.logout() in my code The program works fine with other facebook accounts but it doesn't work on this one. ## Code...
## Description Hi, do you have a plan to use asyncio in your project? If yes, I can try to do some work. If no, is ok for you to...
## Description Facebook has a way to generate "app passwords" so that my devices don't all have access to my main password. When I try to use one of these...
```python import fbchat from fbchat.models import * class EchoBot(fbchat.Client): def onMessage(self, author_id, message_object, thread_id, thread_type, **kwargs): print("{} from {}".format(message_object, thread_id)) if message_object.text == "POST TITLE": self.send(Message(text="hello...."), thread_id=thread_id, thread_type=thread_type) bot =...
## Description of the problem When trying to logout an active session created from session cookies, an error occurs. ## Code to reproduce ``` session = fbchat.Session.from_cookies(cookie) client = fbchat.Client(session=session)...