sanderdriesen / WhatsAPINet

A .NET WhatsApp API
32 stars 48 forks source link

Form app. Register-Request returns: "fail", "old version" #36

Open andy-soft opened 8 years ago

andy-soft commented 8 years ago

Hello, tried to make a enroll, and the WhatApp API returned

"old version"

Then I saw a post about the "version-problem", and changed the constants in the WhatsConstants.cs file towards "2.13.440" At both constants: "WhatsAppVer" as well as in "UserAgent"

After this, it gave a new error response: "bad token" (which I saw is elaborated with a complex number and a hash operation)

Is there something I could change to avoid/correct this? Otherwise the app/api is cool and it (a least) connects, but not authenticates yet! Also I seeked priorly, the WART website was filled with trojan and viruses as well, beware of this!

thanks

SuYeeHlaing commented 7 years ago

Hello, I also encountering this issue {"status":"fail","reason":"old_version"} while I trying to register ph no. How did you ppl solve this one ? Anybody willing to help me?

public const string UserAgent = "WhatsApp/2.13.21 S40Version/14.26 Device/Nokia302"

Thank you.