Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question