mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.04k stars 795 forks source link

Sending a message to all contacts? #147

Open lddd opened 6 years ago

lddd commented 6 years ago

Hey there,

possible to send a message to all contacts found by WhatsApp Web. And how this would be processed by WebWhatsAPI.

So the message would be send to all contacts simultaneously or one by one? Otherwise maybe possible to send a message to a single contact first and then forward it to all other contacts?

Whats the best/fastest way here?

thanks in advance

Dellacurtais commented 6 years ago

Hello, Well, I believe the safest way to do this is you create small send task list and send one after another with some small interval of time.

You can use some DB or data file to assist the tasks.

lddd commented 6 years ago

Well, i never worked with selenium or any other browser automation environment before so i can´t say much about it. I would like to test things but also not very familiar with Pearl. Is there a similar WhatsApp API based on HTTP and PHP or any docs how to transfer this WebWhatsAPI into a more practical API with http endpoints.