Getting Images from a specific album
kujain
Registered Users Posts: 7 Big grins
Using the API, I am trying to get images from a specific album (i only have its url). But for that, i need its albumkey and albumID. Using album_get() I can loop through all albums until i can find the correct key by the title, but this seems very time consuming and resource intensive (I have more than 400 albums now and I keep getting timeouts when I do this). Is there a quicker way to query an album when I know its title or url?
Thanks very much!
Thanks very much!
0
Comments
I have now moved on to API v2 and it has an awesome endpoint to get an album from its uri: urlpathlookup
So I am now able to do this directly from its url eg.
/user/<username>!urlpathlookup?urlpath=<album_path_name>
SO much cleaner and more efficient!