Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question