Ben Ward

‘Liking’ posts with the Tumblr API

.

Inspired by Wordpress’ seriously clever use of Loren Brichter’s new Tweetie options, we’re launching our own Tweetie and Twitterrific compatible API. This Twitter-like API should make it easy for a lot of existing Twitter clients to start supporting Tumblr. The really cool thing - because our following models follow a lot of the same principles, we’ve been able to take advantage of a ton of native features:

  • Retweeting = Reblogging
  • Replying = Reblogging w/ commentary
  • Favoriting = Liking
  • “@david” = ”http://david.tumblr.com/”
  • Conversations = Reblogs

Tumblr Staff:

I’m trying to write a script to “like” the posts on Tumblr that I save a in my feed reader (Fever) “saved items”. I want my affection to be automatically mirrored on Tumblr.

The bespoke Tumblr API doesn’t expose liking, but the new Twitter API clone does (in cloning Twitter’s favorites API.) However, the cloned Tumblr-Twitter API exposes posts with entirely different identifiers than the regular API, making their methods non-interoperable. I didn’t spot an obvious transformation between the two numbers, though the ‘Twumblr’ API IDs are all much larger.

Paging Tumblr staff, or other people smarter/better informed than me. Suggestions or solutions would be greatly appreciated.

You can file issues or provide corrections: View Source on Github. Contributor credits.