V
V
Valery2017-11-15 16:38:53
Classmates
Valery, 2017-11-15 16:38:53

How to get the next photo in the album in OK, if I know the id of the previous photo and the id of the album?

Good afternoon!
There is an id of a photo in an album, there is an id of the album itself. How can I get information about the next and/or previous photo in this album?
It is clear that this could be done using the photos.getPhotos method, but it requires knowing the anchor of the current photo. But how to get it? Is it really necessary to sort through the photos.getPhotos method all the photos in the album from the very first one, until we come across the current photo?
Thank you!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Valery, 2017-11-17
@Lerik-Co

Guys, I can't understand: this question is so trivial that everyone is too lazy to write an answer to it, or is there really no adequate answer to it?
Thank you!
Upd: Is there anyone here at all?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question