C
C
che_aa2020-02-22 22:29:50
Python
che_aa, 2020-02-22 22:29:50

Receive news vk_api longpoll?

How can I receive VK news through longpoll? Well, that is, you put a bot and it sends me a json post object?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2020-02-22
@KingstonKMS

Longpoll is sending requests to VK api to receive events. To do this, you need to keep the script running.
CallbackApi - VK sends requests to your server on a new event.
Which is better - you choose. For studying there is a dock in VK with examples

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question