Answer the question
In order to leave comments, you need to log in
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
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.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question