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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃悶 Tried to send a couple hundred messages to different recepients, WhatsApp logged me out and go-whatsapp-web-multidevice erased my paired phone from store. #134

Closed
1 task done
HaimenToshi opened this issue Apr 17, 2024 · 9 comments
Assignees
Labels
bug Something isn't working

Comments

@HaimenToshi
Copy link

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

Send a lot of messages at once

Relevant log output

No response

Screenshots or Additional Context

No response

Application Version

v4.12.0

Verification

  • I have checked for existing closed issues and discussions.
@HaimenToshi HaimenToshi added the bug Something isn't working label Apr 17, 2024
@aldinokemal
Copy link
Owner

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.聽

@HaimenToshi
Copy link
Author

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.

@aldinokemal
Copy link
Owner

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.

@HaimenToshi
Copy link
Author

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 ?

@aldinokemal
Copy link
Owner

I can't guarantee about that, seem better move this to discussion

@HaimenToshi
Copy link
Author

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.

@HaimenToshi
Copy link
Author

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.

@lairhas
Copy link

lairhas commented May 8, 2024

@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".

@aldinokemal
Copy link
Owner

for further discussion please move to discussion tab

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants