D
D
davc2018-08-03 23:02:10
API
davc, 2018-08-03 23:02:10

How to get 100 or more users at once through vk api?

I need to get 100 or more user data at once through a token key.
I’ll do the authorization and get the key, I can implement it, but getting 100 or more data at once takes more than 25 seconds, because I send a request separately for each user.
Is there a method to get a lot of data with one request at the same time?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2018-08-03
@davc

Yes: execute()
In one call to this method, you can "pack" up to 25 requests to the API. Up to 3 requests per second, for a total of 75 API requests per second.
Specify what your requests are - most likely, one can get information on many accounts at once.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question