yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Not send image or video?

Open guilhermes91 opened this issue 5 years ago • 4 comments

I've been using yowsup-cli for a week, and I can send text messages perfectly ...

But I can't send images or videos ...

Can someone help me? had any updates?

I already tried a change from encr_media to encr_upload, but it still doesn't work ...

guilhermes91 avatar Feb 10 '21 14:02 guilhermes91

Duplicate of https://github.com/tgalal/yowsup/issues/3023.

ben221199 avatar Feb 10 '21 18:02 ben221199

I read and did ... and nothing ..

still with error ... nothing returns ...

`yowsup-cli  v3.2.0
yowsup      v3.2.3


Copyright (c) 2012-2019 Tarek Galal
http://www.openwhatsapp.org

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://openwhatsapp.org/yowsup/donate


Yowsup Cli client
==================
Type /help for available commands

[offline]:/L
I 2021-02-10 22:42:12,819 yowsup.layers.network.layer - Connecting to e11.whatsapp.net:443
Auth: Logged in!
[connected]:/video send xxx "/Users/tato/whatsapp/run.mp4"
[connected]:/video send xxx "/Users/tato/whatsapp/run.mp4"
[connected]:/video send xxx "/Users/tato/whatsapp/run.mp4"
[connected]:Iq:
ID: 4
Type: result
from: [email protected]

Iq:
ID: 5
Type: result
from: [email protected]
`

guilhermes91 avatar Feb 11 '21 01:02 guilhermes91

@guilhenfsu Where get correct working "Yowsup Cli client" ?

kasru avatar Feb 20 '21 15:02 kasru

@anantn

Due to the update of WhatsApp version, the previous method of sending image should be invalid and needs to be modified

Upload media files to WhatsApp's CDN server

Send media messages via IQ Node. Here's what I did, find public String SendMedia(String jid, String path, String mediaType) method

https://github.com/lovethiscode/Gorgeous-Whatsapp/blob/main/Gorgeous/src/main/java/GorgeousEngine.java

lovethiscode avatar Mar 08 '21 05:03 lovethiscode