Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Just use pip, as you would with all packages
.. code-block:: bash
$ pip install messenger-api
There's no docs, I'm sorry. Some day I'll do it.
Simple example of sending message to thread
.. code-block:: python
>>> from messenger_api import Messenger
>>> msg = Messenger('login', 'password')
>>> thread = msg.get_thread(485734986798)
>>> thread
<messenger_api.Thread.GroupThread: "Random chat name" (485734986798)>
>>> thread.send_message("TEST MESSAGE!")
<messenger_api.Message.Message object at 0x000000262414AFD0>
Message sent! :)
Soon you will be able to find some examples in examples
directory
I will appriciate pull requests, but if you want to help you even can just let me know that it stopped working.. I'm not using this library at everyday use and I don't have time to check if Facebook made any changes that breaks compatibility.
FAQs
Unofficial Facebook Messenger library for Python 2.6+ / Python 3.4+ / pypy
We found that messenger-api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.