Answer the question
In order to leave comments, you need to log in
Is it possible to use requests of the same type in the execute VK API method?
You need to get group statistics by subscribers. Here I have an array of groups, and I take statistics on users using users.search
the method indicating the group identifier and, for example, the field sex = 1
, i.e. I want to get the number of female followers.
Using the method stats
will not give me the desired result, and not all groups have this method available.
I decided to shove everything into execute
, i.e. 25 times (as I understood from the documentation, this is the limit) I call the method users.search
for 25 groups. And I got over the limit .
How else can something like this be done? In order not to exceed the limit, but at the same time not to wait ten minutes, and this is exactly the case if you send a request for each group every 3 seconds, without using execute
.
Answer the question
In order to leave comments, you need to log in
Specifically, in this issue, the problem was in the same type of call to the users.search method. And as a result, you cannot call this method after exceeding the limit, the method is limited quantitatively and not frequency.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question