yowsup icon indicating copy to clipboard operation
yowsup copied to clipboard

Image send no error but don't receiver

Open ykguCoder opened this issue 9 years ago • 12 comments

Message: ID: 1498027088-2 To: [email protected] Type: media Timestamp: 1498027088 Media Type: image Has Preview: True MimeType: image/jpeg File Hash: 737a4c54715273303871746444446e51333955774c544c706f73696774394b325577317149746e557367553d URL: https://mmi735.whatsapp.net/d/AnwVhDzjMHnI1xjZ0uvV-UhnjlkhUwq-OJHSCPdmu1AL.jpg IP: 0 File Size: 1270 File name: 20161228165000.jpg Encoding: raw Width: 48 Height: 48

This is my log, python 2.7,3.5 don't receiver both, who konws why?

who can help me

ykguCoder avatar Jun 21 '17 07:06 ykguCoder

Image must be sent encrypted and you are sending in plain mode (not supported anymore by iphone and android devices).

Encrypted send isn't implemented by the API.

jlguardi avatar Jun 21 '17 07:06 jlguardi

@jlguardi thanks , And how to sent encrypted ?

ykguCoder avatar Jun 21 '17 08:06 ykguCoder

@jlguardi

Encrypted send isn't implemented by the API. It's mean we can't send image by yowsup?

ykguCoder avatar Jun 21 '17 08:06 ykguCoder

@ykguCoder I'm so sorry but multimedia protocol is quite deprecated.

jlguardi avatar Jun 21 '17 09:06 jlguardi

@jlguardi If I want to send image , What am I supposed to do?

ykguCoder avatar Jun 21 '17 09:06 ykguCoder

@ykguCoder same question for me: any other suggestion for send an image?

Thank you!

atlaware avatar Jun 21 '17 09:06 atlaware

Basically, you need to implement the inverse of the send procedure:

  • Generate a random key for encryption

  • Encrypt media and upload to the server

  • send encrypted url to recipient and the encryption key in a protobuf message

jlguardi avatar Jun 21 '17 09:06 jlguardi

@jlguardi Is your project has supported ?https://github.com/jlguardi/yowsup

ykguCoder avatar Jun 21 '17 10:06 ykguCoder

@atlaware ok ,If I Solution,I will show here.

ykguCoder avatar Jun 21 '17 10:06 ykguCoder

@jlguardi how to Generate a random key , And how to send to the server. could you show the code? thank you very much.

ykguCoder avatar Jun 21 '17 10:06 ykguCoder

If you can send the code, thank you

lbernardo avatar Jun 26 '17 13:06 lbernardo

@ykguCoder you'll need to figure that out yourself.

schoerg avatar Jul 02 '17 04:07 schoerg