Open expilu opened 12 years ago
Hey I am trying the same thing with python. I got problem of broken pipe. how do you find your password by the way? that thing seems to come from auto-generation or something transparent to customers.
Actually I got it working and get the output as follows: Last read ===> '\x00 \xf8\x08H8\x8aC\xfc\x0f1344312325-ping\xa2:\xf8\x01\xf8\x03q\xbd\xac'
I think the API is working, but the recipient does not receive the msg. Does this happen to you?
Hi. Haven't been testing this since I wrote this thread. The password (in Android...) was the IMEI of the phone passed through md5 and then reversed. For me it worked well and the recipient got messages without problems. But only with php, couldn't make it work in python :(
Hey bro,
Do you know how can i get the password on iPhone? Its the IMEI?
Hey people!
Is the python version working? It seems to be outdated compared to the php version, isn't it?
I obtain a response when connecting, but when sending the message I obtain the broken pipe error and the connection reset by peer. As password I've used the reversed imei passed through a md5 hash, and also the md5 imei reverserd. No succeed.
Does anybody know how to make it work?
Thanks in advance.
Hi, don't mean to open an old issue but am also wondering why there's no activity in the python version. Before discovering there was a more mature yowsup implementation that you might want to try out, I could get the python version working to send a simple message by copying over most of the php functionality using this if anyone is still interested. This was just to add simple messaging and better integration in python in a django server.
It only works for v1 whatsapp currently, all the arguments in testprotocol.py have to be "strings" and you'll probably have to change to your own device and whatsAppVer in whatsapi.py.
Hi! I've tried with both php and python (also with ruby thorugh rubypython gem)
In php it works perfectly with a code like this:
<?php require "whatsapp.class.php"; $wa = new WhatsApp("34666112233", "reversedmd5edimei"); $wa->Connect(); $wa->Login(); $wa->Message(time()."-1","34666332211","test!");
But can't make it work in python. My current code is like this:
import whatsapi whatsapi.start("34666112233","reversedmd5edimei") whatsapi.sendMessage("1","34666332211","test!")
Any clues?