Answer the question
In order to leave comments, you need to log in
How to check if a phone number exists in Viber or Telegram messengers using PHP?
Good afternoon. There is a Viber REST API https://viber.github.io/docs/api/rest-bot-api/ , I did not find an API for the cart.
There is a database of phone numbers and you need to check for the existence of each of the phones in a particular messenger in the PHP programming language.
How can I do that? What are some ideas?
Answer the question
In order to leave comments, you need to log in
You are operating with misconceptions about this API.
Nobody will allow you to send messages to arbitrary users.
Only those who subscribed to your account.
Their IDs can be obtained as a list in get_account_info.
And you still should turn to people who can.
Simply because, for example, I saw this API 10 minutes ago ... and you couldn't figure it out without prompts.
How can I do that? What are some ideas?
Well, for example, I need something like this to open a chat with a number that is not in the address book.
The client sent a number, I'm behind the "hill". And I want to initiate a chat with the client without adding it to the contacts yet (suddenly it doesn’t work right away).
The fact that you can add to contacts and then write-call is cool. But extra movements
So far I have written a page on the site for myself, which generates a link to web.whatsapp and viber chat. When pressed, the acc. app in a smartphone. If the number is of course registered in the messenger.
But ideally, I would like to be able to generate a link after checking whether it works.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question