How do I get tagged posts for a specific blog using the Tumblr API V2?

I have read the Tumblr API V2 documentation and understand that I can use a method /posts

with a tag parameter to get posts from a specific blog with a specific tag, but the response I receive does not contain posts, just the total.

This is true for any blog post and tag combination I try. I am using javascript (not an official client) but the result is the same even when I use the Tumblr API console or type the request directly into the browser url.

Example request:

http://api.tumblr.com/v2/blog/washingtonpost.tumblr.com/posts/text?tag=culture&api_key=fuiKNFp9vQFvjLNvx4sUwti4Yb5yGutBN4Xh10LXZhhRKjWlV4

      

Answer:

{"meta":{"status":200,"msg":"OK"},"response":{"blog":{"title":"The Washington Post","name":"washingtonpost","posts":2647,"url":"http:\/\/washingtonpost.tumblr.com\/","updated":1412647225,"description":"Things you should see and know, from civil rights to Senate races to sports to book reviews. Curated by Julia Carpenter.","is_nsfw":false,"ask":true,"ask_page_title":"Ask away!","ask_anon":true,"share_likes":false},"posts":[],"total_posts":7}}

      

The counter response.total_posts

is accurate, but why is the array response.posts

empty? How can I use this answer to get the actual messages?

Edit:

As of today, there are 7 Washington Post blog posts tagged "culture". There are 1 text message, 3 quotes and 3 photo messages.

This query returns all 3 posts with photos .

This query returns all 3 quotes .

So why doesn't this query return 1 text message?

+3


source to share


1 answer


This is a confirmed bug in the Tumblr API. Hopefully a fix will be available soon.



Google Tumblr Group bug report

+2


source







All Articles