A
A
Alexander B.2017-11-07 15:09:16
JSON
Alexander B., 2017-11-07 15:09:16

How to make a multiple JSON request to the VKontakte API?

Hello colleagues!
I am writing an application for VKontakte on Swift. I need to get all user dialogs. I make a request and get JSON, in which only the user ID, with whom the current user has a dialogue, turns out, for each ID I need to make one more request to the VK API, and if the user has a lot of dialogue, then there can be a lot of requests, and VK has a limit of 3 requests per second. What is the best way to solve this problem? I heard about some kind of script that can somehow combine queries ...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Oleg Gamega, 2017-11-07
@fury21

https://vk.com/dev/execute
no matter from which language you send the script string to the server and it is executed

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question