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.
source share