Hey, those are sweet news! I'm curious to see all those hidden features, hahaha! Even if I'm not planning to do user authentication it won't keep me of checking out these features, they sound like fun and surely are surely helpful.
--
Still, going back to the initial concern, I think the current /like behavior is really a bit bugged, isn't it? I can totally see a malicious person inserting a code to make a visitor auto-like every post a hundred times, and the visitor wouldn't be even aware of this until he checked his dashboard. It's a piece of cake to be done and so far I've found no way to remove the fake likes from the user's counter. It's not a serious exploit but can be used to cause a big nuisance.
I'm going to check what /user/likes is returning later, when I have more time and clean up my code - too many tests' leftovers!
- Likes vs NotesKinda related but unrelated: Yes, I think I've confirmed that the ghost likes really mess with the notes count too. I've liked a test post a couple of times to trigger the bug of notes theme variable returning empty and had a look using the /post method. Look what I've got:
{"meta":{ (... bla bla all user stuff~~) },"posts":
[{ "blog_name":"vielmond",
"id":26021566251,
"post_url":"http:\/\/vielmond.tumblr.com\/post\/26021566251\/aaaaaaaand-its-back",
"slug":"aaaaaaaand-its-back",
"type":"text",
"date":"2012-06-27 20:41:50 GMT",
"timestamp":1340829710,
"format":"html",
"reblog_key":"rX8cceFv",
"tags":[],
"highlighted":[],
"title":"Aaaaaaaand it's back!",
"body":"<p>Because ghost-likes are fun, that’s why!<\/p>"
}],
"total_posts":1}
}
Well, in this case it's more like what I
haven't got. There is no variable "note_count"
at all, and I'm using "true" for "note_info". When this happens the {noteCount} theme variable returns 0 (even if the post actually has some notes and {noteCountWithLabel) returns empty.
Even the legit likes given to clean (with no ghost-likes) posts are kinda messed up when it comes to notes. Sometimes the value only updates after a reblog, I could wait 30min or 1h, the old value persists. Often the notes info events (bla bla liked this, bla bla reblogged this), if counted, doesn't match the note_count.