Closed ururita closed 9 years ago
You need to format the number as "+{cc}{number}", so e.g. "+31650568134"
python yowsup-cli.py -c config.example --sync +346xxxxxxxx
Not is corret
But THANKS
is contact sync working ? i'm trying with registered whatsapp number but the result is :
C:\yowsup>python yowsup-cli -cconfig --sync +97155700xxxx Detected cc: 971 Syncing 1 contacts c: [{u'p': u'+97155700xxxx', u'w': 0, u'n': u'97155700xxxx'}]
C:\yowsup>
i am sure this number has whatsapp thanks
yowsup working properly. issues on WhatsApp server side.
if i add a new number to my android phone it's synced properly
anyway what can be to get if a user is whatsapp user any alternatives ?
no public methods for spambots, sorry ;)
Not entirely true. You can request the last seen time where it will return either
<iq from="3162944****@s.whatsapp.net" id="lastseen-1386684717-1" type="result">
<query xmlns="jabber:iq:last" seconds="1970"></query>
</iq>
for an existing contact or
<iq from="31650568134@s.whatsapp.net" id="lastseen-1386684720-2" type="error">
<error code="404" text="item-not-found"></error>
</iq>
if the phone number is not registered.
afaik you wont get real reply if you never synced that contact.
Using Jake's new test number which has never been synced on my test number still gives me his last seen time
<iq from="1604*******@s.whatsapp.net" id="lastseen-1386685267-2" type="result">
<query xmlns="jabber:iq:last" seconds="12751"></query>
</iq>
yes i've trying but not getting any reply can anyone try with this number +971529598462 please ?
hm ,it's strange. can you test more numbers? whatsapp saying number will be blocked if send many requests to non-synced number.
Number is from United Arab Emirates? Doesn't look like it's registered.
yes from united arab emirates it's registered on a normal device and currently working
use the instruccion python yowsup-cli.py -c config.example --sync 6xxxxxxxx the result is:
c: [#u'p': u'6xxxxxxxx', u'w': 0, u'n': u'346xxxxxxxx'}]
but not is correct , the phone '6xxxxxxxx' if it has a whatsapp
Contact-Sync-API V2 is working?
thanks