D
D
DUDE2020-01-15 01:27:25
API
DUDE, 2020-01-15 01:27:25

Why does it not return anything when the offset value is equal to or greater than a thousand in the users.search VK API method?

I'm trying to pull out more than a thousand users through the users.search method and set the offset to more than a thousand, why does it return an empty list?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
DUDE, 2020-01-15
@stympel

yes, indeed, I thought that for any offset value it would return a thousand users starting from the offset value, but in principle it only produces the first thousand users, regardless of the offset value

A
Andrey, 2020-01-15
@anerev

It's all in the documentation

number of returned users.
Please note that even when using the offset parameter, only the first 1000 results are available for obtaining information.
positive number, default 20, maximum value 1000

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question