Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to find a list of followers or following on Tumblr using API or other means?

Tags:

api

tumblr

The Tumblr API supports basic content reading, but I have not yet found a way to get either the list of followers, or the list of people you are following. The API seems to only return the follower count. The theme documentation has a block that can show who you follow, which is the closest I have found to what I want.

My question is: Given a user's email address and password, is it possible to find either of these lists, through any means? Some sort of background job might be necessary.

like image 733
Wylie Avatar asked Mar 10 '11 01:03

Wylie


2 Answers

To answer my own question:

While this was not possible with the Tumblr API before, the newly release API v2 now supports both types of information.

/followers and /user/following are the relevant commands. They return JSON objects which list the blogs that follow a user, or that a user follows. It looks like they also require OAUTH to access, as this is not public information.

like image 148
Wylie Avatar answered Nov 08 '22 21:11

Wylie


I am looking for the same thing and one idea I came up with is for the specific Tumblr user to create a custom page with the following settings and code.

  • Page URL: _____.tumblr.com/following.json
  • Page Type: Custom Layout
  • Show a link to this page: unchecked

Custom HTML:

{block:Following}[
{block:Followed}  {
    "name": "{FollowedName}",
    "title": "{FollowedTitle}",
    "url" : "{FollowedURL}",
    "portrait": {
      "16": "{FollowedPortraitURL-16}",
      "24": "{FollowedPortraitURL-24}",
      "30": "{FollowedPortraitURL-30}",
      "40": "{FollowedPortraitURL-40}",
      "48": "{FollowedPortraitURL-48}",
      "64": "{FollowedPortraitURL-64}",
      "96": "{FollowedPortraitURL-96}",
      "128": "{FollowedPortraitURL-128}"
    }
  }, {/block:Followed}
  {}
] {/block:Following}

So I just visit i.e. http://arvn.tumblr.com/following.json But I'm still looking for other alternatives.

like image 29
Arvin Avatar answered Nov 08 '22 23:11

Arvin