Messenger API: Unoffical Facebook Messenger API
Installation
Just use pip, as you would with all packages
$ pip install messenger-api
Documentation
There’s no docs, I’m sorry. Some day I’ll do it.
Examples
Simple example of sending message to thread
>>> 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
Contribute
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.
Metadata
Release files for messenger-api 0.5.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| messenger-api-0.5.1.tar.gz | 16.5 kB | Without provenance | Details for messenger-api-0.5.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| messenger_api-0.5.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for messenger_api-0.5.1-py2.py3-none-any.whl |
Total release size: 39.8 kB
Release files / messenger-api-0.5.1.tar.gz
| Download URL | messenger-api-0.5.1.tar.gz |
|---|---|
| Size | 16.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
80a46fa6d451b75a7b85bd2d04f08dee5a53ee06e6edf4a108565be44f522442
|
|
BLAKE2b-256 checksum How to use checksums |
33a6662fb7496dd3e6288780cb7a86fd6d8dbfab6ccd750a6c9cfa14cbce08cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / messenger_api-0.5.1-py2.py3-none-any.whl
| Download URL | messenger_api-0.5.1-py2.py3-none-any.whl |
|---|---|
| Size | 23.3 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
ce87c7c50a7320c42157b72887e4c12330f777c6ebe1a1f06a1c8c6fd1544039
|
|
BLAKE2b-256 checksum How to use checksums |
59acf019d4f40fcf60507783129ba62bf96affa457ffecab5caf814be88c2508
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for messenger-api 0.5.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.