A
A
Alexander Zaitsev2015-03-08 14:49:52
In contact with
Alexander Zaitsev, 2015-03-08 14:49:52

How to bypass vk.com api limit of 1000 people?

The vk api users.search method does not display more than 1000 people, even when using the offset = 1000 parameter. There are search criteria: gender, age, marital status. It is necessary, in accordance with these criteria, to get all users (a bot is written).
Implementation idea: literal enumeration of the query parameter of this method. Disadvantages: if you enter a name, "Alla", for example, there will be more than 1000 results, so you won't be able to take all of them.
Are there better ideas to get around this limitation?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Taratin, 2015-03-08
@Taraflex

Try this
habrahabr.ru/post/248725

D
Dmitry, 2015-03-08
@ExileeD

You messed something up.
count has a limit
of 1000 and offset has no such limit.
If count = 100 , once you've finished with 100 users, shift offset by + 100 . so you can pull all users

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question