F
F
Fariba2022-01-10 11:24:17
API
Fariba, 2022-01-10 11:24:17

Receive messages from the user?

How to create a PHP page to receive messages from a user through the WhatsApp API

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
ViktorEmmanuel, 2022-01-10
@ViktorEmmanuel

You can do this through one of the WhatsApp API services or official providers, for example:
facebook Partner
twilio
360dialog
or using WhatsApp API with ultramsg

S
shurshur, 2022-01-10
@shurshur

There are two ways to access the WA API.
1. Legal: WhatsApp Business API. You need to register a business (you can do it as an individual entrepreneur) in Facebook Business Manager, go through moderation, get access through one of the WhatsApp partners. Cons: expensive. Advantages: reliable, official.
2. Illegal: Imitation of the undocumented WhatsApp Web API. It is enough to keep the phone with WhatsApp turned on by taking a picture of the QR code issued by the required library or service. Disadvantages: risk of ban (not high, but I would not recommend using a Very Important Number in such games), risk that everything will break due to a change in the Web API, the need to keep the phone number included. Advantages: cheap, no need to register templates to send a message first (but if you often send first, the risk of a ban increases).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question