S
S
Space Around2020-06-27 00:41:58
API
Space Around, 2020-06-27 00:41:58

How to get user's WhatsApp API messages?

I want to change the visual part of WhatsApp (write my own application), but I can’t find normal information on how to get data from an authorized user. I need the user to log into his account, after a successful login, he sees all his dialogs as in the WhatsApp application and can interact with them as in a regular application.
I already read about WhatsApp Business API, if I understood the official documentation correctly, then this is not at all what I need. Can you suggest the necessary API, would you like to implement it on node.js?
PS: I have already read about how accounts are banned, this is due to a huge mailing to other users, this is not expected and I would like that users would not be blocked, well, or find out

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
shurshur, 2020-06-27
@viksnamax

Unofficial APIs depict WhatsApp Web in a browser. In principle, you can do it yourself, for example, using Selenium. But the login will still require taking a picture of the QR, plus the usual WhatsApp must be running on the phone. In short, there is not much point in digging in this direction, if something can be done, then only for specific applications, a full-fledged replacement will not work. By the way, I wouldn’t really count on the fact that they ban only for mass mailings, nothing prevents them from detecting suspicious activity on any accounts (including methods that have not been used before), so I wouldn’t use a Very Necessary Account in this in no case.
WhatsApp Business - yes, this is their other area, there are completely different application scenarios. In general terms, you can either send template messages (for a fee) or write in response to a user message (within a 24-hour window). You cannot write arbitrary text to an arbitrary number at any time - they are so struggling with spam (which is the scourge of many of their competitors). Well, they give it only to business.

M
Maxim Krasnikov, 2021-03-15
@Liss105

I also heard that there is a browser-based version of working with the API and a browserless one. The browser one just works through a QR code, and the browserless one directly with WhatsApp, unfortunately, I won’t tell you the details.
But for example, here is a good tutorial on writing a bot on node.js https://chat-api.com/ru/whatsapp-bot-nodejs.html
WhatsApp really bans for any suspicious activity, but to be honest, I get the impression that facebook abandoned the idea of ​​banning all WhatsApp abusers, and decided to force them out using market methods, for example, making the official Whatsapp API more accessible.
But I have never been banned, I try to adhere to these rules - https://habr.com/en/post/515096/ .
Well, answering your question, I worked with RAPIWA, WAZZUP and Chat API, everything is fine, I advise everything.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question