Is that possible to know if a phone number is a WhatsApp user?
As you could tell, we only have phone numbers in the phone's contact list. So I would like to know how could we identify it as a WhatsApp user. I read all the yowsup code and didn't get a clue. Does anyone have the same issue and solve it out?
Thanks.
Use Contact Sync
@shirioko not found a function named "contact sync"
https://github.com/tgalal/yowsup/blob/master/src/yowsup-cli#L195
80% sure he want to use application for sending spam.
Thanks very much for the help. I tried WAContactsSyncRequest and got response like WAContactsSyncQuery: {"c":[{"p":"1234564654","n":"11234564654","w":0}]}
What does these parameter mean? It seems just add country code ahead of the phone_number.
https://github.com/alist3r/yowsup/wiki/Contact-Sync-V2-API-results-guide
You are awesome!