Sorry, i don't understand python.
but i have can register phones, send and receive messages.
I need get profile picture of a contact. Wich is the command line?
thanks in advance and sorry for my english
sorry, this is not WhatsApp service developer support, this is Yowsup project bugtracker.
In connectionmanager.py i can see this function "def sendGetPictureIds(self,jids):" But I don't know how to run it.
Please, Someone can help me?
When i use sendGetPictureIds(self,jids) function, i receive a message with picture id for each contact, but if I use sendGetPicture(self,jid) I received nothing.
How can I get profile picture of contacts?
Do I must to use these picture id somehow?
Please, Someone can help me?
Thanks in advance
@jandrito80 See "contact_getProfilePicture" in Contacts' methods, and "contact_gotProfilePicture" in Contacts' signals: https://github.com/tgalal/yowsup/wiki/Yowsup-Library-Documentation#wiki-methods
Sorry, it is imposible for me.
I can't understand python, but i know php code.
I'm implementing these functions in php, so far all work well.
When I send this extructure (sendGetPictureIds):
I received this:
The "id" received is unix time (when picture was updated).
When i send this extructure (sendGetPicture):
I received nothin. I'm lost. Please help me. Do I must to use the picture id somehow?
I do not understand why you close this thread
Is the forum to help people?
I see you are a bit confused/ lost. This is an issue tracker and not a forum. And then it's an issue tracker for Yowsup, and not for anyone's personal projects. To achieve what you want using Yowsup, you need to call the method" contact_getProfilePicture" and listen to the signal called "contact_gotProfilePicture" as per this page https://github.com/tgalal/yowsup/wiki/Yowsup-Library-Documentation
sorry.
I know nothing of python.
Can you help me? How I call the method "contact_getProfilePicture"? By command line?
you cant dude. you lack the basis that allows you to use this source code.
this is just a programmer interface that allows python programmers to develop software capable of interacting with whatsapp.
the example command line interface that comes with yowsup (yowsup-cli) is only an example program that has not implemented all the methods yowsup can actually manage.
some weeks ago I didn't knew anything about python, and now I start making small programs, a small plugin for yowsup and even a web application that internally uses yowsup to retrieve all kind of whatsapp users data, including the profile image.
I think that you should focus into learning python basics as I did, before trying to use that code.
tarek has stated clearly, you will not get help for your personal project because this is a bug tracker.
just try to learn instead of asking others to do your work.
good luck
Most helpful comment
you cant dude. you lack the basis that allows you to use this source code.
this is just a programmer interface that allows python programmers to develop software capable of interacting with whatsapp.
the example command line interface that comes with yowsup (yowsup-cli) is only an example program that has not implemented all the methods yowsup can actually manage.
some weeks ago I didn't knew anything about python, and now I start making small programs, a small plugin for yowsup and even a web application that internally uses yowsup to retrieve all kind of whatsapp users data, including the profile image.
I think that you should focus into learning python basics as I did, before trying to use that code.
tarek has stated clearly, you will not get help for your personal project because this is a bug tracker.
just try to learn instead of asking others to do your work.
good luck