Closed HaimenToshi closed 5 months ago
since this is not officially an API. send hundreds of messages at once is extremely not recommended. You can create round-robin mechanisms with your app to avoid crashes or being banned from WhatsApp.
since this is not officially an API. send hundreds of messages at once is extremely not recommended. You can create round-robin mechanisms with your app to avoid crashes or being banned from WhatsApp.
Is it common that this server crashes under load ? And how common are WhatsaApp bans for this kind of usage ? Thank you.
Yes, this is a common issue.We don't know how many limit messages are safe for us since there is no clear statement from WhatsApp about that.
Yes, this is a common issue.We don't know how many limit messages are safe for us since there is no clear statement from WhatsApp about that.
I'll implement a queue that sends a message every 10 - 15 seconds. From your experience would that be good enough ?
I can't guarantee about that, seem better move this to discussion
Hello. Message queue is implemented, it will send a message every 8 seconds. I'll test this today at work and report what I find. Thank you so much.
UPDATE: Even 2 MINUTES apart messages got me blocked. I believe the main culprit is that I'm sending them using a server located in a different country than I'm currently residing in. A question, how does this server communicate with Whatsapp to send messages ? Is it through web.whatsapp.com ? I'm asking to see if this server is sending some data with its requests to Whatsapp that could raise red flags. Thank you.
@HaimenToshi this has something to do with the behavior of the program and how it send the message. Avoid sending tons of message to random numbers in short period of time. But still, no one can guarantee WhatsApp will not ban your number no matter how since this is "unofficial".
for further discussion please move to discussion tab
What happened?
As per title. Tried sending an assignment to my students (149 in total) through the server using HTTP and NodeJS, the WhatsApp app on my phone logged me out because "You've logged in using a different phone". Checking on the server web UI, I've found that my paired phone got erased completely as if I didn't pair it to begin with. What could be the issue ?
Reproduction Steps
Relevant log output
No response
Screenshots or Additional Context
No response
Application Version
v4.12.0
Verification