A
A
Alexander Shapoval2017-08-12 00:42:55
PHP
Alexander Shapoval, 2017-08-12 00:42:55

How to get VK users?

The API has a users.search
method that will do all the necessary work, but there is also a limitation that you can only get the first 1000 users, even if you use the offset parameter , you can still get only the first ones. Is there an option to get around this figure of 1000 users?
There is an option to receive only those who are online now, and periodically add new ones to your database, because those who have not logged in for a long time do not need to be found, but this 1000 is still embarrassing, it can be assumed that the same ones will sit, and I so at one point I will stop finding new ones.
There is an option to request once with sorting by registration date, the second time by popularity, it saves a little but not completely.
There is also an option to request different ages, this option already saves a lot, in principle ... I probably solved my problem, but maybe you have your own thoughts.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Aksentiev, 2017-08-12
@sanek_os9

use filters and parse 1000 from each combination of filters.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question