Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WhatsApp Support #808

Closed
t0mer opened this issue Jan 23, 2023 · 7 comments
Closed

WhatsApp Support #808

t0mer opened this issue Jan 23, 2023 · 7 comments

Comments

@t0mer
Copy link

t0mer commented Jan 23, 2023

📢 What is the name of the service?
Whatsapp

🔗 Provide some details about the service that can help with it's development.

@caronc
Copy link
Owner

caronc commented Feb 17, 2023

The only catch with WhatsApp is that once you establish a connection to the server (via QRCode), it needs to persist somewhere so that the connection can be re-used.

This requires the #749 issue to be completed

@t0mer
Copy link
Author

t0mer commented Feb 17, 2023

Hi,
Ma-nish is working with the official whatsapp cloud api and does not require qrcode.
When you open the api you get a permanent token and thats it 🙃

@t0mer
Copy link
Author

t0mer commented Mar 26, 2023

Hi @caronc ,
Any news?

Cheers 😀

@caronc
Copy link
Owner

caronc commented Jun 10, 2023

The request can't be supported yet because there is no persist storage with Apprise. After you authenticate with WhatsApp, you need to hang on to the credentials to make the notification, plus additional ones thereafter

@caronc
Copy link
Owner

caronc commented Jun 10, 2023

The only other comment I'd make is I will likely avoid using the MaNish library as Apprise only needs to leverage a single POST to the WhatsApp API to send the notification. Possibly with attachment support it will post to 2-3 more URLs. The goal is to keep the requirements.txt as required only. Consider it the way the file is now and supporting 90 some endpoints.

But if there is no persistent requirements for WhatsApp, I'll take another look at the efforts

@caronc caronc mentioned this issue Jun 11, 2023
8 tasks
@caronc
Copy link
Owner

caronc commented Jun 11, 2023

Still a ways to go, but i believe i have a working version right now. I can't seem to tell if the direct messages are working (outside of the templates which are). I'm not sure if that's because i'm not paying for my account at this time or not.

Edit: Test Coverage at 100% now; it's back in all of your hand just to give me the thumbs up or down on if this is complete enough.

I would really be interested in anyone's feedback; instructions to test this out are in side the merge request.

@caronc caronc changed the title Whatsapp support using ma-nish Whatsapp support Jun 15, 2023
@caronc caronc changed the title Whatsapp support WhatsApp Support Jun 15, 2023
@caronc
Copy link
Owner

caronc commented Jul 1, 2023

Merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants