Error creating password for my number when using software created using password for whatsapp API

https://github.com/mgp25/WART

I downloaded the password generator from this link.

But during generation, I get an error message using my number.

**Could not request code using either SMS or voice** `SMS: {"status":"fail","reason":"bad_token"}` `Voice: {"status":"fail","reason":"bad_token"}` 

I searched the web and found this link

http://www.17educations.com/whatsapp/how-to-get-whatsapp-id-and-password/

Even then I get the same error.

I do not know why? Is there a way to generate a password?

+5
source share
1 answer

Looking through your code, you will notice that the example of the website that they are showing now leads to parking, and their last fix two years ago. WhatsApp has gone through many changes over this time and, as such, is unlikely to still work.

More information about the tokens of the same author in another repository, which they made here and here .

I do not understand your question enough to say for sure, but I assume that you are trying to use the WhatsApp API for something and trying to get a password to use it.

Modern secure online interfaces have now switched to using “tokens” rather than “passwords”. Tokens can be summarized as a username and password, combined into one long piece of text. You must first create one of them by providing WhatsApp with your username and password, and then get the token back, and then use the token as part of the API call.

I hope some of them help, feel free to comment if I missed the mark.

+5
source

Source: https://habr.com/ru/post/1247634/


All Articles