H
H
Hosting Yaroslavl2019-02-02 11:09:20
API
Hosting Yaroslavl, 2019-02-02 11:09:20

Why doesn't offset work in VK.API "photos.search"?

Offset does not work in VK.API "photos.search"
I create a request in the request example block:
https://vk.com/dev/photos.search?params[q]=%D0%A1%...
When I click on execute button - I see that "count" is found: 176570
I do [offset]=3000
I do not get any value ("items": [])
For [offset]=0 or [offset]=1000 - everything works
If from the command line pass params[offset]=4000 - https://vk.com/dev/photos.search?params[q]=%D0%A1%...
and refresh the page - it shows some 20-40 positions...
In what is the reason?
With my access key on my server - I get the same result.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Sokolov, 2019-02-02
@sergiks

This is not written in the photos.search() documentation , but, for example, they write about users.search :

Please note that even when using the offset parameter, only the first 1000 results are available for obtaining information.

Maybe there is a similar limitation?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question