mqtt-tools/mqttwarn

[Facebook] Replace `fbchat` service with service based on `messenger-api-python`

Open

#579 aperta il 21 ago 2022

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)Python (184 fork)batch import
help wantedservice plugin

Metriche repository

Star
 (930 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Hi there,

coming from @orzechszek's request at #485, we may want to update the code to submit messages to the »Meta« Messenger Platform, which is the official API for chat bots on Facebook today.

It looks like the HTTP calls outlined on [1,2] would be the right way to submit messages these days, when doing it with HTTP only. However, I discovered three libraries on PyPI in this space:

I think messenger-api-python is the most prolific one. Maybe @caronc also wants to have a look in order to add a corresponding adapter to Apprise.

With kind regards, Andreas.

[1] https://developers.facebook.com/docs/messenger-platform/send-messages [2] https://developers.facebook.com/docs/messenger-platform/reference/send-api

Guida contributor