6

Tumblr API支持基本的内容阅读,但我还没有找到获取关注者列表或您关注的人列表的方法。API 似乎只返回关注者数量。主题文档有一个块可以显示您关注的人,这是我找到的最接近我想要的内容。

我的问题是:给定用户的电子邮件地址和密码,是否可以通过任何方式找到这些列表中的任何一个?可能需要某种后台作业。

4

3 回答 3

7

回答我自己的问题:

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.

于 2011-07-12T19:41:48.923 回答
5

我正在寻找同样的东西,我想出的一个想法是让特定的 Tumblr 用户使用以下设置和代码创建一个自定义页面。

  • 页面网址:_____. tumblr.com/following.json
  • 页面类型:自定义布局
  • 显示此页面的链接:未选中

自定义 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}

所以我只是访问即http://arvn.tumblr.com/following.json 但我仍在寻找其他选择。

于 2011-06-07T11:06:36.770 回答
0

我能想到的唯一方法是使用某种知道在哪里查找名称的脚本从 Tumblr.com 上刮取内容。

这不是一个理想的选择,因为如果 Tumblr 更改了他们的代码,那么您的系统就会崩溃,但希望它总比没有它好一点。如果 API 说它不存在,我认为没有其他方法可以做到这一点。

您可以发送电子邮件至 support@tumblr.com 并提出请求。谁知道呢,也许你会如愿以偿。他们真的是很好的人。

于 2011-03-19T04:30:17.130 回答