A
A
Anonimos_12019-10-29 12:13:25
PHP
Anonimos_1, 2019-10-29 12:13:25

How to implement callback api chat-manager?

Hello, I need help in developing my callback api chat-manager (link to the article: https://vk.com/@chatmanage-callback-api ), I would like to get an explanation on which free hosting you can run your callback-server and what files with what content to do

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
riabovnickita2018, 2020-02-12
@riabovnickita2018

www.000webhost.com there (in the article) there is a link to the script, you enter your data into it: manager token and VK token. You create a text file, you copy all this into it. in the $chats array you write as in the attached photo (there you write the UID of the chat in quotes, you can find it out with the command! ask the manager for help, then after the arrow you write the chat id on your page (how to find it, you can find it on the Internet), and on the next line is the opposite). Then you save all this to the webhook.php file and upload it to the hosting. Then, in the address bar, write this: https://api.chatmanager.pro/?method=account.setWeb... TOKEN FROM THE MANAGER&url=ADDRESS OF YOUR SERVER /webhook.php . For example, I got this: https://api.chatmanager.pro/?method=account.setWeb... my token)&url=https://mywebhookvk.000webhostapp.com/webhook.php . By the way, there are hints in Russian in the script, do not remove them.
5e43826fde48d886114075.jpeg

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question