Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Banned Numbers all the time #1806

Closed
kw005 opened this issue Oct 19, 2016 · 9 comments
Closed

Banned Numbers all the time #1806

kw005 opened this issue Oct 19, 2016 · 9 comments
Labels

Comments

@kw005
Copy link

kw005 commented Oct 19, 2016

Our numbers are getting banned all time time. using yowsup. This is NOT due to spam! Whatsapp recognizes yowsup as an unauthorized application. At this point, we cannot use yowsup anymore without getting banned sooner or later. How can we solve this?

Whatsapp worte:

Thanks for your message.
Your WhatsApp account was banned because you violated our Terms of Service and were using an unauthorized application and/or unsupported device.
Please uninstall your application and install an authorized version on supported devices from:
www.whatsapp.com/download
Please note that we do not allow use of unofficial clients or jailbroken/rooted (including emulators), and unsupported devices.
To use WhatsApp on your computer, access our website from your computer’s browser. Then, open the app and scan the QR code using the WhatsApp app on your phone (look for WhatsApp Web menu under Settings). WhatsApp can only be installed on your computer if your operating system is Windows 8 (or newer) or Mac OSX 10.9 (or newer). If you are having issues installing WhatsApp on a supported operating system, turn off your anti-virus and try again.
For all other operating systems, you may use WhatsApp on your browser here
Your account will be permanently banned if you continue to violate our Terms of Service, and there will be no possibility of an appeal.
Best Regards,

@jlguardi
Copy link
Collaborator

I've my numbers working for long time ago and I've also registered a new line 2 day ago and it is still up.
Check your workflow.

@yniv
Copy link

yniv commented Oct 19, 2016

@jlguardi do you use this master branch of yowsup? what is your workflow if i may ask? because i also get blocked all the time, not spamming, syncing users before i send them any message, but still get banned even if i don't send any message

@jlguardi
Copy link
Collaborator

I use my master mixed with yowsup master.

No special or complex workflow but:

  • avoid to send messages to non existing recipients
  • ‎use delays
  • use typing state
  • update recipient info
  • update crypto keys if required
  • manage correctly acks

@yniv
Copy link

yniv commented Oct 19, 2016

@jlguardi I'm doing all the things you mentioned here... maybe i'm doing something of them wrong???

this is how i handle acks:

@ProtocolEntityCallback("ack")
    def onAck(self, entity):
        if entity.getClass() == "message":
            self.client.sendCommand(["message", "sent", entity.getId()])

 @ProtocolEntityCallback("receipt")
    def onReceipt(self, entity):
        if self.connected:
            ack = OutgoingAckProtocolEntity(entity.getId(), "receipt", entity.getType(), entity.getFrom())
            self.toLower(ack)

this is how i update contacts:

def contacts_sync(self, contacts):
        if self.assertConnected():                        
            entity = GetSyncIqProtocolEntity(contacts.split(','), mode="delta")
            self.toLower(entity)

what do you mean by update crypto keys? this:

# Get shared keys
    def keys_get(self, jids):
        if ModuleTools.INSTALLED_AXOLOTL():
            from yowsup.layers.axolotl.protocolentities.iq_key_get import GetKeysIqProtocolEntity
            if self.assertConnected():
                jids = [self.normalizeJid(jid) for jid in jids.split(',')]
                entity = GetKeysIqProtocolEntity(jids)
                self.toLower(entity)
        else:
            logger.error("Axolotl is not installed")

    # Send prekeys
    def keys_set(self):
        if ModuleTools.INSTALLED_AXOLOTL():
            from yowsup.layers.axolotl import YowAxolotlLayer
            if self.assertConnected():
                self.broadcastEvent(YowLayerEvent(YowAxolotlLayer.EVENT_PREKEYS_SET))
        else:
            logger.error("Axolotl is not installed")

what am i missing?!

@Gab0
Copy link

Gab0 commented Oct 22, 2016

@jlguardi Can you upload your mixed master for us to try? thanks

@yniv
Copy link

yniv commented Oct 27, 2016

@jlguardi can you please see if miss something there or doing something wrong? please... :)

@jlguardi
Copy link
Collaborator

It seems ok however something should be incorrectly managed and so you have banned numbers.
If you want, I can start your instance in my home and call a web service on each incomming event.

@decieved
Copy link

decieved commented Nov 9, 2016

I've also started using Yowsup for about a week now, still haven't got banned! I'm just too careful I guess...

@ardhipoetra
Copy link

I got banned by using pidgin plugin long time ago.

@tgalal tgalal closed this as completed May 16, 2019
@tgalal tgalal added the invalid label May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants