Offset when calling the /tagged api?

124 views
Skip to first unread message

Kevin Seligmann

unread,
Apr 22, 2016, 4:48:43 AM4/22/16
to Tumblr API Discussion
Hello fellow developers. Im trying to access the /tagged api as described on https://www.tumblr.com/docs/en/api/v2#tagged-method . Works wonders, but can't seem to find a way to use the offset tag along with limit.

Trying with the url in the browser doest not work either, and several other endpoints suggest the offset parameter but tag.

As you can see, no matter which url you click both yield the same results, which I find odd.

Thank you for your time!

Michael Ceyko

unread,
Apr 28, 2016, 10:56:21 AM4/28/16
to Tumblr API Discussion
Hey Kevin,

As shown on the docs page, to paginate /v2/tagged, you must use the before parameter instead of the typical offset.

The timestamp of when you'd like to see posts before.

If the Tag is a "featured" tag, use the "featured_timestamp" on the post object for pagination

To get the next page, you must pass the oldest timestamp on the current page in the next request.

Regards,
Mike Ceyko
Reply all
Reply to author
Forward
0 new messages