Answer the question
In order to leave comments, you need to log in
How to display all subscribers of vk.api using execute?
there is a task to withdraw all subscribers and there may be more than 5k. How to do it right?
Answer the question
In order to leave comments, you need to log in
As I understand it, this function is of interest, but this one will work according to the same principle
. It has offset, count, the latter is limited to a hundred.
First you need to get the total number of subscribers, they come when you request "count": 32363
Now we need to write this into a variable and start iterating (example code, I write in a dream).
$i=0;
while ($i < $count) {
// тут отправляем запрос:
// offset - $i
// count - 100
$i+=100;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question