pedroslopez / whatsapp-web.js

A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
https://wwebjs.dev
Apache License 2.0
15.53k stars 3.7k forks source link

Whatsapp Account Blocked because of Spam #3250

Closed supis20 closed 2 months ago

supis20 commented 2 months ago

Is there an existing issue for this?

Describe the bug

hi, so im having a problem where my engine that using send message command from this library is always got block because of spam, while the truth is i only send 7 messages per hour, so idk if anyone also experiencing this or just me, please help i already lost more than 10 accounts LOL. please help, my boss is getting angry because of this, maybe its the new regulation from whatsapp it self or my code and authentication is the one that wrong. please help me, anyone. there is the authentication code, please tell me whats wrong

Expected behavior

im expection a long life aaccount for any purpose, and this is kinda weird because im not spamming but get blocked of spamming

Steps to Reproduce the Bug or Issue

  1. run the engine
  2. scan the qr
  3. account ready
  4. send message
  5. blocked

Relevant Code

// const wwebVersion = '2.2412.54'; const client = new Client({ puppeteer: { headless: true, args: ["--no-sandbox"] }, // puppeteer: { headless: true }, authStrategy: new LocalAuth({ clientId: args[0], dataPath: "tokens" }),

restartOnAuthFail: true,

// webVersionCache: { // type: 'remote', // remotePath: https://raw.githubusercontent.com/wppconnect-team/wa-version/main/html/${wwebVersion}.html, // }, });

Browser Type

Chromium

WhatsApp Account Type

Standard

Does your WhatsApp account have multidevice enabled?

Yes, I am using Multi Device

Environment

OS: Linux Phone OS: Android Whatsapp-web.js versioin "whatsapp-web.js": "github:pedroslopez/whatsapp-web.js#webpack-exodus"

Additional context

No response

alecshoppe commented 2 months ago

New WhatsApp accounts get blocked faster than older ones. So, you're stuck in a loop until your account engages in real conversations with people for an unknown period of time for us.

Create multiple variations of the same message, such as: Hi | Hello | How's it going? | Hi there! šŸ‘ (randomize these) Include another paragraph with multiple options and randomize it as well.

This will generate thousands of different messages. Avoid sending links or files in the first message; Wait for the client to interact with you first. You can create a message to encourage this interaction.

supis20 commented 2 months ago

New WhatsApp accounts get blocked faster than older ones. So, you're stuck in a loop until your account engages in real conversations with people for an unknown period of time for us.

Create multiple variations of the same message, such as: Hi | Hello | How's it going? | Hi there! šŸ‘ (randomize these) Include another paragraph with multiple options and randomize it as well.

This will generate thousands of different messages. Avoid sending links or files in the first message; Wait for the client to interact with you first. You can create a message to encourage this interaction.

thank you so much for the help, ill try the method <3

sam-lex commented 2 months ago

hey, I don't know about getting blocked, but we had another issue which was showing that the Phone was invalid, and it wasn't. What solved for us was to save all the customer's phone number before sending it. We use another android app like CSV to Contacts, and generate the CSV details from our app. We send about 200-300 messages per day for almost 3 years now. Also, add some delay between each messages, we use 5 seconds delay.