Got banned after sending just 5 messages
See original GitHub issueBug description
I got banned from WhatsApp after sending just 5 messages. I sent them from inside a for loop and waited random seconds between each message from 1 - 4 secs After sending to WhatsApp support to remove the ban I got this reply which says that I am “using an unauthorized application and/or unsupported device violates our Terms of Service”. Here’s the full message:
Your WhatsApp account was banned because using an unauthorized application and/or unsupported device violates our Terms of Service. Unsupported apps are altered versions of WhatsApp, which means they’re developed by third parties and violate our Terms of Service. WhatsApp doesn’t support these third-party apps because we can’t validate their security and privacy practices. For example, we can’t validate whether they apply our end-to-end encryption security practices. You can learn more about unsupported apps and why we don’t support them in this article. To continue using WhatsApp, you must download the official app. You can visit our website to download WhatsApp or the WhatsApp Business app. If you’re using an unsupported app because you’re interested in new features, you can learn more about our new and upcoming WhatsApp features in our Help Center or blog.
Please keep in mind, we can reinstate an account ban if the account activity continues to violate our Terms of Service. We recommend carefully reviewing the “Acceptable Use of Our Services” section of our Terms of Service to learn more about the appropriate uses of WhatsApp and the activities that violate our Terms of Service. You can learn more about how to use WhatsApp responsibly in this Help Center article.
Reproduction steps
Steps to reproduce the behavior:
- Scan QR Code using multi-device version from https://github.com/pedroslopez/whatsapp-web.js/tree/multidevice
- Send a message to an array of 10-20 WhatsApp numbers (most of them has an ongoing conversation, not the first time to contact)
…
Expected behavior
A clear and concise description of what you expected to happen.
Relevant code
` for (let i = 0; i < whatsAppIds.length; i++) { const whatsAppId = whatsAppIds[I]; const pauses = Math.ceil(1000 + 3000 * Math.random()); let x = await wait(pauses ); if (x) { const response = await global.client[clientId].sendMessage(whatsAppId, message, { linkPreview: false }); } }
function wait(milliseconds) { return new Promise((resolve, reject) => { setTimeout(() => { resolve(true); }, milliseconds); }) } `
Environment (please complete the following information):
- WhatsApp Standard Official version from playstore
- Android
- WhatsApp Web version 2.2144.11
Library
- Browser [Chrome / Chromium]: Edge
- NodeJS version v16.13.0
- npm or yarn version (
npm -v): npm v 8.1.0 - whatsapp-web.js version: multi-device version
Other
- Operating system: Windows:
- Operating system version Windows Server 2022 Datacenter azure edition
Issue Analytics
- State:
- Created 2 years ago
- Comments:10 (1 by maintainers)
Top Related StackOverflow Question
I recently sent messages to about 65 numbers and I wasn’t banned 🤔
nah, whatsapp-web.js tells them you are a Mac. 😆