get number connected
phenriquec opened this issue · 4 comments
phenriquec commented
how to get the number of the connected whatsapp?
vasani-arpit commented
There is a function which is called getMe()
which is written here
https://github.com/danielcardeenas/sulla/blob/master/src/lib/wapi/wapi.js#L216
I am not sure it is working or not. I haven't used it.
Deleted user commented
@vasani-arpit I tried getMe with your wapi script and another and it doesn't work, can you fix it? I need it badly.
With your script I get "wid" undefined and with my script I get "me" undefined.
vasani-arpit commented
@dahanj95 try this https://github.com/vasani-arpit/WBOT/blob/master/src/WAPI.js it should work.
Deleted user commented
@dahanj95 try this https://github.com/vasani-arpit/WBOT/blob/master/src/WAPI.js it should work.
That's the one I tried, doesn't work.