venomous0x / WhatsAPI

Interface to WhatsApp Messenger
2.59k stars 2.13k forks source link

Since yesterday I have to re-auth the mobile number #961

Open maznos opened 10 years ago

maznos commented 10 years ago

Hello

since yesterday I have to re authorize my mobile number just after one message.

luidiva commented 10 years ago

Same here. Did you figured out?

maznos commented 10 years ago

@luidiva I am sorry, I didn't figure out the solution, thats why I asked here

dennobaby commented 10 years ago

What do you mean? After outgoing message? Do you use the latest commit? Here is everything okay...

luidiva commented 10 years ago

It's like a timeout. After some time idle I stop receiving and sending messages, not effect on changing status, composing, etc. No errors occurs, these actions only doesn't work. Even when connection status is loggedin or connected. Btw, what's the difference?

maznos commented 10 years ago

@dennobaby Yes I am using the latest commit but still same issue request new password -> send 1 msg -> not authorized

dennobaby commented 10 years ago

could you write down here the code you're using? And maybe the debug-output also?

maznos commented 10 years ago

@dennobaby I used the example to send regular msg

here is the debug output: tx stream:features/stream:features

tx 9{d�xxxxxxxxxxxx �\�Բ�[<Š^�/< �!1411048098WhatsApp/2.11.378 Android/4.3 Device/GalaxyS3 MccMnc/421001

rx

rx stream:features/stream:features

rx =���I� �[^�;+��9��

tx ���L\�Ȇ>\�(&��amm�3t(�kM'��G

dennobaby commented 10 years ago

Thats all?

maznos commented 10 years ago

@dennobaby Yes!

maznos commented 10 years ago

I guess I need a code to get only the new password whenever it is needed when I request via WART it just return the new password can anyone give me a code to use, please :)

mgp25 commented 10 years ago

@maznos i dont understand what you mean

maznos commented 10 years ago

@mgp25 I mean: what is the php code used to check for new password if it is changed from the server?

mgp25 commented 10 years ago

If you can login means the password you have is valid, if not you can use checkCredentials() you reset it and generate a new one. Make sure when using checkCredentials() that the provided identity id the one you got when registering the number, alternatively you can register the number again.

maznos commented 10 years ago

@mgp25 OK thanks