pywhatsapp icon indicating copy to clipboard operation
pywhatsapp copied to clipboard

Simple wrapper around yowsup to send a message or mediafile with whatsapp

Results 12 pywhatsapp issues
Sort by recently updated
recently updated
newest added

Sending messages does not work. I am sending them in the following way and they do not arrive from whatsapp import Client @app.route("/sendLocalMessage") def sendLocalMessage(): message = request.args.get('message') client =...

shubham@shubham-Vostro-2520:~/Desktop/tg/yowsup$ python3 send.py Traceback (most recent call last): File "send.py", line 4, in client.send_message(phone_to,"hello") File "/home/shubham/Desktop/tg/tg/lib/python3.5/site-packages/whatsapp.py", line 153, in send_message self._send_message(to, message) File "/home/shubham/Desktop/tg/tg/lib/python3.5/site-packages/whatsapp.py", line 148, in _send_message self.stack.loop() File...

@app.route('/sendmsg') def sendmsg(): to = request.args.get('to') msg = request.args.get('msg') token = request.args.get('token') if(str(token) == expected_token): client = Client(login, password) res = client.send_message(to, msg) In the above flaskapp.py file , res...

``` C:\Users\mjdev>pip install pywhatsapp Collecting pywhatsapp Collecting yowsup2==2.5.0 (from pywhatsapp) Requirement already satisfied: pyreadline in c:\python27\lib\site-packages (from yowsup2==2.5.0->pywhatsapp) (2.1) Requirement already satisfied: python-dateutil in c:\python27\lib\site-packages (from yowsup2==2.5.0->pywhatsapp) (2.7.2) Requirement already...

Hi Can you please update your code to use the latest version of yowsup as it throws error with the current version? Thanks a lot for this code Really helps...

Hi i am using from whatsapp import Client phone_to = '+91XXXXXXXXXX' client = Client(login='91XXXXXXXXXX', password='XXXXXXXXXXXXXXXXXX=') client.send_message(phone_to, 'automated') and nothing is printing

while sending messages to more than 1 number i getting following exception ERROR:yowsup.layers.interface.interface:Stream Error type: conflict {'conflict': None, 'text': 'Replaced by new connection'} I am runing following code in for...

```python Traceback (most recent call last): File "whatsapp_spammer.py", line 37, in getRegister self.sendMessage() File "whatsapp_spammer.py", line 89, in sendMessage print self.client.send_message('09549****', 'test message whatsapp') File "/home/foozzi/projects/whatsapp/whatsapp/yowsup_wrapper.py", line 206, in send_message...

From whatsapp version 2.17.20 on iOS this code is not working anymore. I get an notifcation on my homescreen that a got a new message, but the message does not...

Added some lines to send messages to groups.