Getting over 50 notes with the Tumblr API

Is there a way to get over 50 notes per post from the Tumblr API.

According to their API, I need to call the posts method with the notes_info parameter set to True. Here is the document:

https://www.tumblr.com/docs/en/api/v2#posts

So, I finish creating an API call like (the API key is public from my docs):

http://api.tumblr.com/v2/blog/yearinreview.tumblr.com/posts/text?api_key=fuiKNFp9vQFvjLNvx4sUwti4Yb5yGutBN4Xh10LXZhhRKjWlV4¬es_info=true

This blog has more than 50 notes per post, but the API only returns the last 50 in the result['posts']['notes'] list.

Example: http://jsbin.com/noyejikarawi/1/edit

Is there any way around this and get a complete list of notes?

+3
source share

Source: https://habr.com/ru/post/1273406/


All Articles