I've been trying to get my whatsapp Console App to work. Unfortunately when trying to register I'm getting an error: old_version. Here's what my program logs in the console (program code's below):
Succesfully connected...
Failed to log in...
Reason: Auth response error
Phone number validation:
Type "y" in the console if you want to get a validation code send via SMS
y
SMS code send
Error with sending the request...
Reason: {"login":"mynumber","status":"fail","reason":"old_version"}
Does anyone have any idea how I could update the whatsapp API? It's the most up-to-date version currently in my NuGet package manager. I know there are two versions, I tried both without succes.
I'm using the .NET framework solution and not the .NET core because there are NuGet package manager bugs caused by microsoft that I'm dealing with. Also I'm using other NuGet packages in .NET framework like Discord.NET.
So I could find 2 Whatsapp API's in the NuGet package manger. The first version of the API is on v1.2.2, the other one is on v15.4.29.
And aditionally I want to add the code that I use for registrating.
bool registrationSucces = WhatsRegisterV2.RequestCode(number, out password, out error);
To completely reproduce the error: https://pastebin.com/EJhjALwz with both available nuget packages mentioned earlier (v1.2.2 or the one that's on v15.4.29)
I'm looking forward to anyone with more knowledge of the API or Coding that could help me solve this setback.