tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.02k stars 2.23k forks source link

Number banned after sending the first message #2467

Closed DwarfKiller closed 5 years ago

DwarfKiller commented 6 years ago

Hello I registered 2 numbers with the current version of yowsup and after registering and sending the first message the numbers were banned. Would anyone know if there are any more updates that should be made in this version so it does not happen?

ykguCoder commented 6 years ago

The same to me.How to deal with it?

DwarfKiller commented 6 years ago

@tgalal do you have any idea?

gsahbi commented 6 years ago

yowsup is over, Whatsapp came up with a way to detect bots

lddd commented 6 years ago

@gsahbi. They not "came up with", they fighting against any public available non-official API for years. And its really no wonder people getting their numbers banned if using something stupid like Yowsup. Go build your own API based on WhatsApp Web and you are save as long as you not sending messages to people don't want to receive it, e.g sending bulk spam shit. There is no problem with doing a Chat Bot based on WhatsApp Web. This can be done in a few minutes through WhatsApp Web.

twister21 commented 6 years ago

Do you have any code snippet for connecting to WhatsApp web? I would like to implement a Java WhatsApp bot for sending status updates. Unfortunately, it seems like there is no update for yowsu in the future.

sbru commented 6 years ago

The same to me, Number banned after sending the first message.

lddd commented 6 years ago

Just create your own API making use of WhatsApp Web....

twister21 commented 6 years ago

Yes, but how to start? I think there is needed a QR-Code.

ydennisy commented 6 years ago

@lddd please provide some idea of how to do that instead of saying "just make it"

lddd commented 6 years ago

Learn how to code or hire some freelancer?

ydennisy commented 6 years ago

Ok thanks @lddd for proving you know nothing about how to actually build on whatsapp web.

lddd commented 6 years ago

@ydennisy Thanks for proving you have no idea of how to use the search function here or even doing a simple Google Search for something like "WhatsApp Web" "WhatsApp Web + APi "Whatsapp Web + automation" or similar.

You should do some research before blaming on me. Or ask some more specific question to a problem you face...

hgc2002 commented 6 years ago

you must do other stuff before sending messages, as anybody with the app would do, like registering contacts, getting statuses, updating yours, etc. Simply make your program behave more like a human, if you know what I mean. This is why creating bots is difficult.

twister21 commented 6 years ago

I thought that the main problem would be that the environment for sending a message compared to the environment used for the registration of the number changed. Unfortunately, I cannot try something because the risk of getting blocked another time is too high.

chriso0710 commented 6 years ago

Just take a look at https://github.com/mukulhase/WebWhatsapp-Wrapper Works great!

twister21 commented 6 years ago

Thank you for the hint. But is it true that the smartphone needs to be online all the time? That's the main point.

chriso0710 commented 6 years ago

Yes, but there is no real Whatsapp API, so you will have to make some tradeoffs. Unstable/dead yowsup with high risk of getting banned vs. working solution with whatsapp web automation and QRcode. Your choice :-)

lddd commented 6 years ago

@WebWhatsapp-Wrapper is very bad documented and missing a lot of important things. It gives you at most a small entry on how you can automate WhatsApp through browser automation. However its miles away from anything i would want to use in production.

chriso0710 commented 6 years ago

However its miles away from anything i would want to use in production.

Which of course is also true for yowsup.

lddd commented 6 years ago

@chriso0710

Yes. 100% agree :-)

3dluis commented 6 years ago

WhatsApp has implemented some automatic processes to detect bot and a human team for possible behavior. The bad management in the implementation of bot has it that the platform of whatsapp was blackoff for this reason, it does not matter if you implement a Bot by Whatsapp Web or direct connection to the server funxmpp and your behavior is like a Bot is 100% that your number and IP be banned.

I see that the community of Yowsup is very growing, my recommendation is that we adapt to the library to avoid excessive abuse of the tool.

I understand that giving a good use to this tool can evolve until you get to look for financing to become an official API. This has a lot of potential for doing business both for whatsapp and for the Yowsup community.