Closed parthmehta closed 9 years ago
http://stackoverflow.com/questions/3302946/how-to-base64-url-decode-in-python
User error, make sure you copy the whole password including the trailing '==' characters
Thanks shirioko.
I tried with suffixing multiple equal to ("=") signs at the end but had no luck . Even tried the following :
base64.b64decode(s + '=' * (4 - len(s) % 4)) where s is the string to decode.
When I decode it on online decoders it was decoding it. So later I just changed the password by making a --exists call from yowsup and updated the config.example file with the new credentials and now its decoding but giving a Auth failure error as below :
D:\whatsapp\yowsup-master\yowsup-master\src>yowsup-cli.py -c config.example -d - -send 91XXXXXXXXXX "hello"
Detected cc: 91 YowsupConnectionManager: >>>>>>>> AUTH CALLED BinTreeNodeReader: Reader init Connecting to c.whatsapp.net WAuth: Yowsup WAUTH-1 INIT WAuth: Starting stream WAuth: Sending Features BinTreeNodeWriter: Outgoing BinTreeNodeWriter: stream:features
After successful registration and receiving the password, i tried to send a message and got the following error :
D:\whatsapp\yowsup-master\yowsup-master\src>yowsup-cli.py -c config.example -d --send XXXXXXXXXXXX Hello
Traceback (most recent call last): File "D:\whatsapp\yowsup-master\yowsup-master\src\yowsup-cli.py", line 232, in