Open antonio199205 opened 2 years ago
I switched to ios but I get this error
Traceback (most recent call last):
File "c:\Users\Anton\AppData\Local\Programs\Python\Python310\Scripts\yowsup-cli", line 4, in
Same thing here
I managed to make it work, I updated the whatsapp constants, I just don't know how to send a message
@antonio199205 could you please tell us what constants you updated? Maybe this library is unmaintained and needs a fork?
_MD5_CLASSES = "jJYkDZJ+SGfBMvlEeGKmSw==" _VERSION = "2.22.19.76"
Thanks. This should be merged into #3156
@antonio199205 could you please also share how you derived those new data?
Using those constants successfully got my burner phone registered. However, trying to use the demo client, I cannot seem to get connected:
Yowsup Cli client
==================
Type /help for available commands
[offline]:/L
I 2022-10-24 17:16:00,540 yowsup.layers.network.layer - Connecting to e3.whatsapp.net:443
I 2022-10-24 17:16:00,558 yowsup.axolotl.manager - Generating 812 prekeys, current max_prekey_id=0
I 2022-10-24 17:16:00,816 yowsup.axolotl.manager - Storing 812 prekeys
I 2022-10-24 17:16:06,647 yowsup.axolotl.manager - Loaded 812 unsent prekeys
general: Disconnected:
[offline]:/ping
Error: Not connected
8Fz9R1yOYocVWtGWahVYBw== 2.22.21.83
try with this one madduck
if it works let me know
It worked for me with
_MD5_CLASSES = "jJYkDZJ+SGfBMvlEeGKmSw=="
_VERSION = "2.22.19.76"
after I replaced all endpoints in constants.py
with g.whatsapp.net
, as suggested here: https://github.com/tgalal/yowsup/issues/3157#issuecomment-1193663427
It also works with the values you suggested above (2.22.21.83)
ok, whenever i need constant whatsapp i have something else how do i send a message to a number
You can use the demo client to send a message, or write some Python. It's documented on the Wiki.
@madduck
It does not work for me... I got <failure reason="401" location="atn">
What have you modified except the modification above?
BTW r.whatsapp.net does not work... should be g.whatsapp.net?
Thanks!
yeah @dazzzl, g.... editing.
@madduck @antonio199205 can we send images using yowsup . I am not able to send any media . Can u please help me ?
kushagra9967 I don't know how it works, I don't even know how to send a simple text message, but I have developers to work on this project, if anyone has the code developer's contact and wants to let me know, I have a good proposal for him to update the code
@antonio199205 : i have messaged you on telegram
@antonio199205 : i have already messaged. Please Check
xvHJS7OwkFzSCemQ0VX8cg== 2.22.22.80
2.22.23.84 Qc0kUxteJdDJSpeLPeHMKQ==
Version: 2.22.23.85 ClassesDex: YgGFYlBVxzteZp1oO+v28w==
But it still does not work
what can do with it. cant make a registration
status: b'fail' reason: b'old_version' login: b'7904XXXXXXX'
change the file /env/env_android.py _MD5_CLASSES = "fJdJ2pZOVbYYjN+D8g8mUQ==" _VERSION = "2.22.24.76" Tool: dexMD5.py
change the file /env/env_android.py _MD5_CLASSES = "fJdJ2pZOVbYYjN+D8g8mUQ==" _VERSION = "2.22.24.76" Tool: dexMD5.py
is working for you?
i tried the newest, but does not work
Version: 2.22.24.79 ClassesDex: aB7TRBP7/nT6KypPakIupw==
change the file /env/env_android.py _MD5_CLASSES = "fJdJ2pZOVbYYjN+D8g8mUQ==" _VERSION = "2.22.24.76" Tool: dexMD5.py
BTW, if I do these changes the error changes to :
W 2023-04-22 11:09:06,500 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead
I 2023-04-22 11:09:07,600 yowsup.common.http.warequest - b'{"email_otp_wait":65,"flash_type":1,"length":6,"login":"XXXXXXXXX","method":"sms","notify_after":86400,"retry_after":125,"sms_wait":125,"status":"sent","voice_wait":125,"wa_old_wait":65}\n'
Traceback (most recent call last):
File "/usr/local/bin/yowsup-cli", line 679, in
W 2022-10-21 23:43:01,999 yowsup.common.http.warequest - Passing Config to WARequest is deprecated, pass a YowProfile instead I 2022-10-21 23:43:02,288 yowsup.common.http.warequest - b'{"login":"55629xxxxxx","reason":"old_version","status":"fail"}\n' status: b'fail' reason: b'old_version' login: b'55629xxxxxx'