venomous0x / WhatsAPI

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

WhatsApi Dot Net #959

Open innovativevijay opened 9 years ago

innovativevijay commented 9 years ago

I am having problem whats registration its giving error like : status failed and status : old_version

mgp25 commented 9 years ago

First of all. If you are asking for a WhatsApiNet problem ask in the proper repository, not here. WhatsAPI is only PHP. Not .NET. Anyway....

Change user agent and version to .378 Version: 2.11.378 User Agent: WhatsApp/2.11.378 Android/4.3 Device/GalaxyS3

innovativevijay commented 9 years ago

Thanks for this. Its helped me out but one more problem raised. I hope you will help me? Error : "{\"status\":\"fail\",\"reason\":\"bad_token\"}"

Lawgrin commented 9 years ago

Please see https://github.com/perezdidac/WhatsAPINet/issues/201#issuecomment-55584524 The md5 also needs to be changed. Once again please Post these questions there

innovativevijay commented 9 years ago

thanks

ahy95 commented 9 years ago

@mgp25 when i change user agent and version to .378 my error change and show below error: stdClass Object ( [status] => fail [reason] => bad_token ) and when i check with WART-1.7.1.0 show error old_version again :(

mgp25 commented 9 years ago

Here is the classesMD5: oCtjlSonS+4H16h9HW6nNA==

ahy95 commented 9 years ago

Can you explain how to generate classesMd5?

mgp25 commented 9 years ago

Raw MD5 from classes.dex and then base64 encoded

ahy95 commented 9 years ago

@mgp25 i raw MD5 from classes.dex that is:e669731feedda5173af6650539ca965d and my base64 encoded is:ZTY2OTczMWZlZWRkYTUxNzNhZjY2NTA1MzljYTk2NWQ= why my base64 encoded is different with you?

mgp25 commented 9 years ago

@ahy95 you can find an utility in my github

innovativevijay commented 9 years ago

How to set profile picture?

ahy95 commented 9 years ago

you can find your answer in exampleFunctional.php file

adelsjunior commented 7 years ago

I managed to install and ate message sending , but even without using the messaging the next day I 'm blocked , can anyone help me ???

daniellubos commented 7 years ago

Hi there, Im having the same "old_version" issue. Changed the version number to a new one like 2.17.63. This has changed the error message to "bad token". The $classesmd5 is documented

$classesMd5 = '14w/wF67XBf2vTc+qALwKQ=='; // 2.16.148 So, I am pretty sure that's why the registration fails.

Even though you explain how to get the $classesMd5 and generate the token, I have difficulty to understand how to do it and I'd be really happy I you could give some more details.

Using the suggested tool classesmd5-64, I wonder how to generate the classes.dex. For usage it is mentioned: classes.exe file.apk. So I guess:

classes.exe file.apk However, file.apk is the WhatsApp App? How to download it without installing. (I'm using Mac OSX)

To make it working quickly, I'd be glad if you could help me with a new $classesMd5. Indeed, I'd would also like to be able to generate the tokens myself. Looking forward to your reply.