tgalal / yowsup

The WhatsApp lib
GNU General Public License v3.0
7.08k stars 2.23k forks source link

Error getting lastseen information #2850

Closed pzverr closed 1 year ago

pzverr commented 5 years ago

Hi! Please tell me how to get last time seen information correctly. I am trying this command in yowsup-cli:

/L
/contacts sync +my-real-number
/contact lastseen my-real-number@s.whatsapp.net

And i receiving error message yowsup.demos.cli.layer - Error getting lastseen information for my-real-number@s.whatsapp.net My whatsapp profile is open. I do not understand what could be the mistake...

yowsup-cli v3.2.0 Using yowsup v3.2.3

NelsonGaldeman commented 5 years ago

More information could be useful. Anyway, I don't think WhatsApp lets you see your own last seen.

It's "imposible" because you need to be "available" in order to get last seen/online status from WhatsApp so your own last seen will always return the current time.

julioo-cain commented 4 years ago

Hi @pzverr did you solve the problem? i faced with this too!

pzverr commented 4 years ago

Hi. @julioo-cain I could not solve this problem :(

Pyatka-Ubiyca commented 4 years ago

me too

lauriolasw commented 4 years ago

Same here:

/L [connected]: /presence available [connected]: /contact sync nn [connected]: /statuses get nn statuses_get result: [ jid ...] OK [connected]: /contact lastseen jid E (timestamp) yowsup.demos.cli.layer - Error getting lastseen information for jid

Thanks