S
S
SideWest2019-08-16 10:04:49
In contact with
SideWest, 2019-08-16 10:04:49

How to make a CallBack API bot?

Wrote VK bots on LongPoll API using Node JS.

I want to try the CallBack API , the documentation says "Callback API sends notifications to your server"

But I still can't figure out where to get this server , I have a Linux machine on AWS, will it work? How to make this server in general, 5d56558fabba3701982830.pngwhere you can find instructions, I really want, please help

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrew, 2019-08-16
@SideWest

But I still can’t figure out where to get this server, I have a Linux machine on AWS, will it fit? How to make this server,

AWS will do.
If in Python, then for simplicity, you can do it in Flask.
In fact, this is a regular web server, with a project on %framework_name%.
CallBack url is the path on your server where the request (POST) from VKontakte will arrive.
And along this path you process the data that VK sends.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question