api - Pagination on Soundcloud not working with favorites -
i have problem soundcloud api when querying authenticated user's tracks. i'm testing on ios using nxoauth2 provide oauth2 authentication. not using now-deprecated soundcloud ios sdk.
if make request https://api.soundcloud.com/me/tracks.json?limit=50&linked_partitioning=1, returned json contains 50 tracks, , string "https://api.soundcloud.com/me/tracks.json?limit=50&linked_partitioning=1&offset=50" key "next_href". making request url returns next page of tracks. works expected.
if make request https://api.soundcloud.com/me/favorites.json?limit=50&linked_partitioning=1, returned json contains 50 tracks, , string "https://api.soundcloud.com/me/favorites.json?before=1395763236&linked_partitioning=1&page_number=1&page_size=50" key "next_href". making request url returns json same set of tracks obtained original url, , same "next_href" string.
it looks /me/tracks.json has not been updated new pagination style (still using offsets). /me/favourites.json has, not work correctly me. can else clarify similar behaviour? hoping there have missed.
many in advance.
Comments
Post a Comment