3 ms·
Gray comments have {"dead": true} in their item info. You probably also want to omit items with {"deleted": true}. Example: https://hacker-news.firebaseio.com/
by tlb 8y ago
Gray comments have {"dead": true} in their item info. You probably also want to omit items with {"deleted": true}.
Example: https://hacker-news.firebaseio.com/v0/item/18195247.json https://hacker-news.firebaseio.com/v0/item/18195247.json is a grayed comment at the bottom of https://news.ycombinator.com/item?id=18194586 https://news.ycombinator.com/item?id=18194586.
- htk 8y agoThis would be perfect, but unfortunately doesn't seem to work on most downvoted comments (negative scored), for example: https://hacker-news.firebaseio.com/v0/item/18204620.json https://hacker-news.firebaseio.com/v0/item/18204620.json This comment is light gray, but doesn't return anything different in this API from a regular (positive scored) comment.