Got banned after sending just 5 messages

See original GitHub issue

Bug 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:

  1. Scan QR Code using multi-device version from https://github.com/pedroslopez/whatsapp-web.js/tree/multidevice
  2. 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

  • 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:closed
  • Created 2 years ago
  • Comments:10 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
max-programmingcommented, Apr 9, 2022

I recently sent messages to about 65 numbers and I wasn’t banned 🤔

3reactions
PurpShellcommented, Dec 12, 2021

I suspect it was because of using WhatsApp web on Windows Server 2022 Datacenter azure edition, maybe they check the operating system used on WhatsApp Web Not sure though

nah, whatsapp-web.js tells them you are a Mac. 😆

Read more comments on GitHub >

github_iconTop Results From Across the Web

Banned after sent a few messages · Issue #416 - GitHub
I tryed to send: every 30 seconds per user (I got banned after 18 messages); In group of 5 persons every minute (I...
Read more >
Why am I temporarily blocked from sending messages ... - Quora
Sometimes Facebook will Temporary Block people from Sending Messages if they Detect that they been Spamming or if you Add Strangers and to...
Read more >
Im banned from sending messages and anythings social on ...
If I got a message like that I'd just ignore it, it's a just a game. ... Lucky this isnt PlayStation I was...
Read more >
Blocked from sending messages on Facebook
You sent a lot of messages recently. Your messages went against the Facebook Community Standards. Keep in mind that: This block is temporary....
Read more >
Learn why your account was banned or suspended from Xbox ...
... your device may have been banned by the Xbox Live Policy & Enforcement Team. For more info, see Microsoft's Code of Conduct...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found