Blogs currently return in /user/following, etc. as:
{
"name": "david",
"url": "http:\/\/
www.davidslog.com",
"updated": 1308781073
}
One common use of a "following" API, and my intended use for
Instapaper, is a "Find my friends on Tumblr" feature. Ideally, when
someone connects their Tumblr account to their Instapaper account, I'd
like to store both their username (mostly for display purposes) and a
unique ID of some sort that never changes.
Then, when someone else does a "find people I follow on Tumblr"
request, I can fetch /user/following, get a list of unique IDs with
the usernames, and query my database for Instapaper users whose Tumblr
IDs match up to the IDs returned by /user/following.
I can do all of this now with just the usernames, but it's brittle,
since Tumblr users can change their usernames easily.
Facebook and Twitter both return permanent integer keys for users,
which prevents this problem. I'd love if Tumblr returned something
similar, either an integer or a string — doesn't matter. Just some
unique identifier for each blog that cannot be changed.
Thanks,
Marco Arment
m...@marco.org