Журнал «Современная Наука»

Russian (CIS)English (United Kingdom)
MOSCOW +7(495)-142-86-81

CHOOSING A METHOD FOR COLLECTING STATISTICS IN THE VK API: ANALYSIS OF THE CALLBACK API AND LONGPOLL API

Pimanov Andrei Evgenevich  (Federal State Autonomous Educational Institution of Higher Education "Northeastern Federal University named after M. K. Ammosov", Neryungri Russia, Neryungri )

Samokhina Viktoriya Mikhailovna  (Associate Professor of the Department of Mathematics and Computer Science Ph.D. of Pedagogic Sciences Federal State Autonomous Educational Institution of Higher Education "Northeastern Federal University named after M. K. Ammosov", Neryungri Russia, Neryungri )

The documentation for developers of the VK social network describes its two main tools for receiving and processing events. This article provides a comparative analysis of two methods of interaction with VK API - Callback API and Long Poll API - in the context of collecting statistics in group chats. Both methods allow you to monitor user activity and collect various data about messages, but each of them has its own characteristics and advantages. The purpose of this material is to determine the optimal method for collecting statistics. The article discusses the technical features and examples of the use of both methods, as well as provides recommendations for choosing the most appropriate option, depending on the initial conditions. The results obtained are valuable for developers interested in integrating with the VK API. They will help you make more informed decisions when choosing tools for project implementation, ensuring more effective achievement of your goals.

Keywords:VK; API; Callback; LongPoll; script; event

 

Read the full article …



Citation link:
Pimanov A. E., Samokhina V. M. CHOOSING A METHOD FOR COLLECTING STATISTICS IN THE VK API: ANALYSIS OF THE CALLBACK API AND LONGPOLL API // Современная наука: актуальные проблемы теории и практики. Серия: Естественные и Технические Науки. -2024. -№06. -С. 94-98 DOI 10.37882/2223-2966.2024.06.29
LEGAL INFORMATION:
Reproduction of materials is permitted only for non-commercial purposes with reference to the original publication. Protected by the laws of the Russian Federation. Any violations of the law are prosecuted.
© ООО "Научные технологии"