Well look, I agree with Czarek Tomczak's answer that this strategy is no longer supported and will not be supported by Whatsapp itself. Therefore, I would not recommend doing this yourself. In fact, I do not quite understand why you are making such a decision yourself? That is, I look at what you are talking about, and I see that such solutions are already available. If you are just interested in sending messages from applications, then you can look for a ready-made solution that will fit your functionality. If the price is of principle to you and you would like to be as cheap as possible, then this is also possible to find. For example, I previously did integrations through these services
https://chat-api.com/en/whatsapp-bot-php.html WAZZUP and RAPIWHA. For my integration, sending and receiving messages was also important, and the first two were fine for me. I don't know about the prices at the moment, you can take a look.
среда, 13 января 2021 г. в 13:10:21 UTC+3, Choudhary Enterprises: