mukulhase / WebWhatsapp-Wrapper

An API for sending and receiving messages over web.whatsapp [Working as of 18th May 2018]
https://webwhatsapi.readthedocs.io/en/latest/
MIT License
2.02k stars 797 forks source link

Whatsapp is banning numbers? #451

Closed andlb closed 5 years ago

andlb commented 5 years ago

Does anybody have problem with banned number? I sent 600 mensagens and my number was banned from whats app. Before today, I sent more than hundreds of messages and I never had problem like that.

lfdelphino commented 5 years ago

Basically anything you do will result on a ban, by today I've lost +50 numbers since I've started trying, there are a few things you should have in mind so you can avoid it, check #416 for more

luisloaiza commented 5 years ago

@andlb do you sent to numbers that weren't in your contact list or that didn't wrote you a message before? I'm trying to monitor the reasons of whatsapp banning, so far, if you only use this code as a responsive bot and avoid sending too much links, then you are fine.

rbnishant commented 5 years ago

Here is a thought, just for performance improvement. Integrate google-api in your project. As soon as you encounter a new number, add that contact to your contact list via google-api. Here is what will happend

  1. Send request to google-api to add a new number
  2. As soon as google add it, your phone will sync and that contact will automatically reach your whatsapp list.
  3. Send first message as Hi, or any other formal greeting so that it looks like a personal mesage.
  4. Then send whatever message you want to send.

I have not tried it, but hopefully, this will reduce the blocking process.

andlb commented 5 years ago

Yes, previously I sent to many numbers that was not in my contact list. Also, I sent many messages by minute. After I read some topics about banning, I changed the algorithm to send 60 messages by hour and I also ask for the person who receives my messages to include my number in their contact list. Every message sent I include the name of the person I'm sending. I changed from whatsapp to whatsapp business. Since then, I have no problem anymore.

WesleyFreitas472 commented 5 years ago

@andlb, whatsapp business work with this lib? And, now, how many messages you send by hour? I send around to 480 messages with normal whatsapp and the numbers are in my contact list but i dont know if i in their list. In my last test, my system work fine for too days and i have no problem, so i stop the test and i will put my system in production. So, i have problems with whatsapp banning my number before, and i interest in your statistics to avoid future problems, if you can tell of course.

andlb commented 5 years ago

Hi, Yes, whatsapp business worked for me. However it didn't work by itself. I also changed my algorithm to not send hundreds of messages by hour. Now, I send less than 120 message by hour. Before I send a message I connect to google people api and I sent the contact to there. My phone is connected to the google contacts, so all my contacts is in the phone list contact before I send the message. Also, I ask to people to include my number in their contact list. After all this changes, everything is working well.

On Tue, Oct 2, 2018 at 9:40 PM WesleyFreitas472 notifications@github.com wrote:

@andlb https://github.com/andlb, whatsapp business work with this lib? And, now, how many messages you send by hour? I send around to 480 messages with normal whatsapp and the numbers are in my contact list but i dont know if i in their list. In my last test, my system work fine for too days and i have no problem, so i stop the test and i will put my system in production. So, i have problems with whatsapp banning my number, and i interest in your statistics to avoid future problems, if you can tell of course.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/451#issuecomment-426476050, or mute the thread https://github.com/notifications/unsubscribe-auth/Abls8aH161BesYNRtAxWeJ5O4_5wRiXJks5uhAd0gaJpZM4WzIST .

--

Andre Luis Fone: +55 (17) 982098889 LinkedIn: www.linkedin.com/in/andreborgespaula

WesleyFreitas472 commented 5 years ago

@andlb and you use chat_send_seen and disconnect whatsapp web at least one time by day to pass a image that you are not a bot to whatsapp? i do! just for ensure.

andlb commented 5 years ago

Yes, You have to use chat_send_see. I don't disconnect once by day. Usually I keep the connection all day long.

On Tue, Oct 2, 2018 at 10:21 PM WesleyFreitas472 notifications@github.com wrote:

@andlb https://github.com/andlb and you use chat_send_seen and disconnect whatsapp web at least one time by day to pass a image that you are not a bot to whatsapp? i do! just for ensure.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/451#issuecomment-426482297, or mute the thread https://github.com/notifications/unsubscribe-auth/Abls8W11MdTAXGIHmnqKNX0swx2nLQW8ks5uhBE1gaJpZM4WzIST .

--

Andre Luis Fone: +55 (17) 982098889 LinkedIn: www.linkedin.com/in/andreborgespaula