Who liked a post
The owner of an app, and anyone who administers it, sees the names of the people who liked a post about it. Everyone else sees only the count.
- Page. On
/feeda muted line under the post readsLiked by bob, carol, outside the like button's form. It wraps on a narrow screen. - Terminal. In the feed screen (
feed), the same words are the quiet second line of the post's row. - API.
GET /api/v1/feeditems carrylikedBy(names, oldest like first) andlikedByMorefor administrators of the app; for everyone else both are absent. - Many likes. Twenty names are shown; the rest are counted:
Liked by a, b, … and 3 more. The full list with times is the like ledger (hin the terminal,GET /api/v1/feed/likes).
Who counts as owner is the repository's own admin check (canAdmin), the same one that guards its settings.
- Past twenty. For administrators, "and 3 more" links to the ledger page,
/feed/likes?item=…&app=…[&cursor=seq]: one row per like or unlike, newest first, 50 a page, and an "Older likes" link carrying the next cursor. The page reads onlycursor. The API,GET /api/v1/feed/likes, takescursor(aliasbefore, aseq) andlimit(1 to 200, default 50), and answersnext_cursor, null on the last page. In the terminalhopens the ledger andhagain loads the next page (mtoo).
Not done: showing names to people who do not administer the app.