Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get Tumblr posts with certain tags

Tags:

api

tumblr

I need to only get tumblr posts which have been tagged with 'diary'

Here is the feed, 'http://clintonbeattie.tumblr.com/api/read/json'

I'm not sure how to loop through the posts and output only the diary ones.

Any help much appreciated.

like image 906
Crashdesk Avatar asked Apr 05 '12 15:04

Crashdesk


People also ask

How do you only show tagged posts on Tumblr?

In your theme settings, you should see a box labeled "Default Tag". Put the tag you'd like posts to appear for in that box (without a hashtag) and click save. Now, if someone visits your blog, it will forward them to the page that shows posts with your specified tag.

How do I find a specific Tumblr post?

Click a blog's name or avatar to open it up, then click the magnifying glass at the top of the blog. Now type. Type like you mean it. Get your results.

Is there a way to mass edit tags Tumblr?

Tumblr has a special area called the Mass Post Editor (MPE), where you may select (and unselect) multiple published posts to add or edit tags, or delete selected posts. Open the Mass Post Editor by clicking the Mass Post Editor button on your blog's sidebar.

Can I block specific tags on Tumblr?

Blocking Tags on Desktop Step 1: On the Tumblr dashboard, click the Account icon, and then click Settings. Step 2: Click the pencil-shaped Edit icon under the Filtering section, and then add the tag that you want to block. When done, click the Add button.


1 Answers

Use the api v2 to extract only tag you need

http://api.tumblr.com/v2/blog/clintonbeattie.tumblr.com/posts?api_key=PyezS3Q4Smivb24d9SzZGYSuhMNPQUhMsVetMC9ksuGPkK1BTt&tag=diary

From the doc: http://www.tumblr.com/docs/en/api/v2#posts

like image 97
j0k Avatar answered Oct 06 '22 21:10

j0k