Closed tetradox closed 6 years ago
Hi
That’s really strange, I’m sending a lot of messages with no delay and everything is good. You have tried another number or to use it in another smartphone? Maybe using WhatsApp business app?
Another think that you can do is: buy a new number, activate it on WhatsApp and use normally in your cellphone by one or two days, then use in the web using this library.
Best.,
What means banned? your phone number is banned from whatsapp servers? your whatsapp web session disappears? or simply, you can not send more messages?
I'm getting a virtual number I open whatsapp with nox then I open the WhatsApp web Account is banned when you send 20-30 messages , WhatsApp banned my number
wow! maybe it's because it's a virtual number... I don't know... What comms company provides that number to you? It's possible whatsapp check them
When you send a message to a number which is Not conform with the writing of WhatsApp, you will get banned. Always remember No plus in the beginning, country Code needed, also "@c.us" must be at the end Like: "19282626@c.us" .
Maybe your Code produces some faulty numbers.
Also try to uninstall WhatsApp from your phone and Reinstall it. That might unban your phone
Alfred Santacatalina Gea notifications@github.com schrieb am Do., 31. Mai 2018, 15:53:
wow! maybe it's because it's a virtual number... I don't know... What comms company provides that number to you? It's possible whatsapp check them
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/mukulhase/WebWhatsapp-Wrapper/issues/247#issuecomment-393537619, or mute the thread https://github.com/notifications/unsubscribe-auth/AGhecYlxwBeZMQs5s58i1g2vDuCras1Uks5t3_XzgaJpZM4UVD8e .
Could @kevinkit or someone please contribute a WhatsApp id validator? Perhaps a decorator to any function which accepts WhatsApp id as argument. It should automatically validate if (@c.us) exists, this will prevent bans.
@mukulhase yeah, and this will prevent that the WhatsApp get broken after sended a message with a invalid WhatsApp ID... We really need this feature.... i can do this, but whats is the rule to validade a WhatsApp id? Only require to have the "@c.us" string?
def check_ID(contact_id):
nr = contact_id.split('@')[0]
if not nr.isdigit():
raise ValueError("Number contains non number elements before the @ sign")
elif contact_id[-5:] != '@c.us':
raise ValueError("Contact Id must end on '@c.us")
here is a fast snippet I was using, I am not really able to implement it due to the lack of my python knowledge and decorators
Another way would be to put in a list of allowed country codes. Check if the first number match and if so , the id is allowed
@oltanalkan
i am using nox emulator from last 8 months
my wa working fine not ban..
i do only reply to chat users..
if you using broadcasting the message using this api..than posible to ban
also this api not made for spammer.. due to whats app not like the spammers or broadcasters who send message to non contacts/non your chat
spamming == banned whats-app
@tarun82888 since he waits 1-10 seconds it might not be recognized as spam, so it may be an other problem.
However if the same message is sent 20-30 times I would consider it spamming - which should not be supported by the repo and this community
@kevinkit
you was send messages to your chat users or send to unknown wa users?
only to known numbers
@kevinkit
please share your codes
It is just the echo.py in the examples a little bit modified, nothing more - there is nothin worth sharing and I am not quite sure what you need as a code?
Do you have a JavaScript solution?
whether the numbers are registered how can I learn I think this is a query method for javascript
wow this is super entitled, why would you tag all these people. Patience dude
You can use WhatsApp Web api to find if the WhatsApp number exists
@mikkelam tbh I don't think tagging people in this instance is too bad as I would appreciate getting informed about possible bans. However it should've been obvious to him that virtual numbers can cause bans
@karopass @alfred82santa @alan-albuquerque @Vini85428026 @tapankumar @MalkaBar @victorriba @tulssinep @mikkelam @mhndm Account is banned when you send 20-30 messages Do you have any suggestions for not being banned?
--I wait 1-10 seconds for each message -- each message is different what can i do?
Browser : chrome the code I am using
document.querySelector("#app")._reactRootContainer.current.child.child.child.child.child.child.sibling.sibling.sibling.sibling.sibling.child.child.child.child.child.sibling.sibling.sibling.sibling.sibling.child.child.child.child.memoizedState.chats[0].collection.find("558598754564@c.us").then(function(e) { e.sendMessage("Ola") });