Questions tagged [yowsup]

Yowsup is a Python library that allows you to login and use the WhatsApp service and provides you with all capabilities of an official WhatsApp client, allowing you to create a full-fledged custom WhatsApp client.

About Yowsup

Yowsup is a python library that allows you to do all the previous in your own app. Yowsup allows you to login and use the WhatsApp service and provides you with all capabilities of an official WhatsApp client, allowing you to create a full-fledged custom WhatsApp client.

A solid example of Yowsup's usage is Wazapp. Wazapp is full featured WhatsApp client that is being used by hundreds of thousands of people around the world. Yowsup is born out of the Wazapp project. Before becoming a separate project, it was only the engine powering Wazapp. Now that it matured enough, it was separated into a separate project, allowing anyone to build their own WhatsApp client on top of it. Having such a popular client as Wazapp, built on Yowsup, helped bring the project into a much advanced, stable and mature level, and ensures its continuous development and maintenance.

Yowsup also comes with a cross platform command-line frontend called yowsup-cli. yowsup-cli allows you to jump into connecting and using WhatsApp service directly from command line.

62 questions
6
votes
1 answer

Run multiple servers in python at same time (Threading)

I have 2 servers in python, I want to mix them up in one single .py and run together: Server.py: import logging, time, os, sys from yowsup.layers import YowLayerEvent, YowParallelLayer from yowsup.layers.auth import AuthError from…
9gagger
  • 235
  • 2
  • 12
5
votes
3 answers

registration fails due to old version - YOWSUP

This may sound old... While registering my number using yowsup-cli, I'm getting the following error: INFO:yowsup.common.http.warequest:{"login":"************","status":"fail","reason":"old_version"} status: fail reason: old_version login:…
4
votes
1 answer

yowsup to Whatsapp Messaging

I had setup Yowsup on my server. I followed this guide and setup everything without any error. But at the last step, i.e. sending a message, it doesn't throw any error but the message doesn't reach Whatsapp on my mobile. Below is the output for…
Srini
  • 41
  • 3
4
votes
1 answer

yowsup - Integrating sending and receiving

Background: I would like to integrate yowsup to my home automation project. I have seen a simple sample on how to receive messages and after some minor changes it is working fine. Issue: My problem starts when it comes to integrate the send message…
user1688175
3
votes
2 answers

How to find latest MD5, KEY and VERSION when using Yowsup

I have seen issues where registering with whatsapp server sometimes fails when using yowsup with old_version error (Yowsup - old_version error). I understand this is due to whatsapp upgrading itself, what is a good way to find latest MD5, KEY and…
SAK
  • 43
  • 3
2
votes
1 answer

whatsapp integration in Odoo by using python yowsup

Anyone implemented WhatsApp integration with odoo, by using yowsup library, we can send message to whatsapp from terminal...If anyone successfully implemented, please help me to implement.
Abdul Rahman
  • 29
  • 1
  • 3
2
votes
1 answer

Yowsup auth fail whatsapp

i am working on an api for whatsapp, i am using Yowsup. when i use Yowsup Cli client i manage to login to the whatsapp account and send and receive messages from it. when i try to use the following script, it return "Auth Failed!". import sys import…
Omega Doe
  • 325
  • 1
  • 2
  • 17
1
vote
0 answers

Unable to start Weechat with Whastapp script

I'm starting to learn Linux from scratch. I have some degree of knowledge and experience with Ubuntu, Kubuntu and now Manjaro. In my Manjaro installation, I can't get Weechat to work with its Whatsapp script (and yowsup). I apparently installed…
elnt
  • 11
  • 1
1
vote
0 answers

Yowsup number validation missing config.json

Fresh installation, yowsup 3.2.3 with all prereq and depnds. on CentOS7 Everything was just fine(i thought), successfully received confirmation code from WA, but with en error: TypeError: save() missing 1 required positional argument: 'config' So,…
1
vote
1 answer

Yowsup-cli Old Version failed registration

i am trying to register my number with yowsup-cli (yowsup-cli registration --requestcode voice --phone 49************* --config-cc 49 --config-mcc 262 --config-mnc 01), but i get this error yowsup.common.http.warequest - b'{"login":"49***********",…
1
vote
0 answers

InvalidMessage or KeyId for ..., going to send a retry

I'm using yowsup, and need to figure out a problem that I haven't faced before. I already received messages via the onMessage event, but now it doesn't work. On debug, I got InvalidMessage or KeyId for xxxxx, going to send a retry. I tried to delete…
1
vote
2 answers

Error on Yowsup Echoclient : "InvalidMessage or KeyId for 91XXXXXXXXXX, going to send a retry"

I have set up an Echoclient of Yowsup. However, randomly I receive an error "InvalidMessage or KeyId for 91XXXXXXXXXX, going to send a retry" while reading incoming message. After a certain period of time it shows "Storing prekeys". Once this is…
1
vote
1 answer

Error: "-su: attr: command not found"

Getting following error: fhem@raspberrypi:/opt/yowsup-master$ attr WhatsApp cmd /opt/yowsup-master/yowsup-cli demos -c /opt/yowsup-config/yowsup.config --yowsup -su: attr: command not found Thy for all answers!
Jhidzzo
  • 77
  • 10
1
vote
1 answer

yowsup: how to read and process with PHP the received messages?

Since WhatsAPI/Chat-API is no longer maintained, I'm trying to understand how to interact with yowsup from PHP. Sending messages is easy with exec() and CLI is easy: yowsup-cli demos --send 39xxx "Test message" --config yowsup.txt did the trick.…
1
vote
0 answers

Unable to install yowsup2 ON WINDOWS (Cannot unpack file / Failed building wheel for python-axolotl-curve25519/ Cannot determine archive format)

Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\nuts>pip install yowsup2 Collecting yowsup2 '''c:\python27\lib\site-packages\pip\_vendor\requests\packages\urllib3\util\ssl_.py :318:…
1
2 3 4 5