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
14.5k stars 3.45k forks source link

Banned after the last update #1774

Closed AhmedAbo6 closed 7 months ago

AhmedAbo6 commented 1 year ago

Is there an existing issue for this?

Describe the bug

I got banned after updating to 1.18.2. It sent some messages but not all. I am only letting you know.

Expected behavior

Send to 100 numbers

Steps to Reproduce the Bug or Issue

Just send some messages as I have been doing for quite some time.

Relevant Code

No response

Browser Type

Other (please write in Additional Context)

WhatsApp Account Type

WhatsApp Business

Does your WhatsApp account have multidevice enabled?

No, I am not using Multi Device

Environment

OS : Ubuntu 20.04.5 LTS Phone : Android module version : 1.18.2 Node version : v16.17.1

Additional context

Using the non-gui one

fabiomello commented 1 year ago

You need official API to send messages at high volume

allburov commented 1 year ago

@AhmedAbo6 What was the message and content, did you first reach out the contacts or reply on their messages? Just curious

AhmedAbo6 commented 1 year ago

@allburov The message was that they signed up on the website. Some of them we had a previous conversion but some we didn't.

lfdelphino commented 1 year ago

Whatsapp's algorithm for identifying unauthorized bots is quite effective. Everything associated with your server, device, location, browser, network, etc. has already been flagged given that you were banned so quickly.

The best approach to utilize this library is to add random delays between interactions and to only reply to chats that weren't initiated by you. One spam report is all it takes for your number to be blocked and your metadata to be flagged. Regardless of whether someone signed up to receive messages, only official WhatsApp business instances are allowed to execute automation via API.

yelnyafacee commented 1 year ago

You need official API to send messages at high volume

@fabiomello hi may I know what you mean by this? sorry I am a newb XD, I used `client.sendMessage(ChatId, 'testtt') to send 3x messages and I already banned on 2x business account :(

dorellanaff commented 1 year ago

You need official API to send messages at high volume

@fabiomello hi may I know what you mean by this? sorry I am a newb XD, I used `client.sendMessage(ChatId, 'testtt') to send 3x messages and I already banned on 2x business account :(

The official API is developed by Meta (Facebook), this project use WhatsApp web in an headless browser, it isn't an API.

fabiomello commented 1 year ago

After first ban, Meta uses some parameters to ban: IP Address, Message Content, Device Authenticated, etc.

but you don't know what parameter are used, only with official api from business.facebook.com (that you can see why you got ban)

Em ter., 13 de dez. de 2022 às 21:30, Daniel Orellana < @.***> escreveu:

You need official API to send messages at high volume

@fabiomello https://github.com/fabiomello hi may I know what you mean by this? sorry I am a newb XD, I used `client.sendMessage(ChatId, 'testtt') to send 3x messages and I already banned on 2x business account :(

The official API is developed by Meta (Facebook), this project use WhatsApp web in an headless browser, it isn't an API.

— Reply to this email directly, view it on GitHub https://github.com/pedroslopez/whatsapp-web.js/issues/1774#issuecomment-1350171567, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAM6PRX42DFWJJBEOUYKI3WNEIKPANCNFSM6AAAAAARR7L2YY . You are receiving this because you were mentioned.Message ID: @.***>