问题
Is there a way to get more than 50 notes per post from Tumblr API.
According to their API, I need to call the posts
method with the notes_info
parameter set to True. Here is the doc:
https://www.tumblr.com/docs/en/api/v2#posts
So I end up constructing an API call like (the API key is public, from their docs):
http://api.tumblr.com/v2/blog/yearinreview.tumblr.com/posts/text?api_key=fuiKNFp9vQFvjLNvx4sUwti4Yb5yGutBN4Xh10LXZhhRKjWlV4¬es_info=true
The blog in question has more that 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 a way to get around this and fetch the full notes list?
来源:https://stackoverflow.com/questions/26176275/getting-more-than-50-notes-with-tumblr-api