I'm fine with doing all my writing on HN. If you look at the comments section of my profile, it might as well be a microblog.
I'm fine with doing all my writing on HN. If you look at the comments section of my profile, it might as well be a microblog.
Difference is though that in the HN comments it's someone else who picks the topic and time.
Much as I appreciate the discussion here, occasionally I think there's some value in just doing a writeup on a topic. Or, a memory dump. If for no other reason, than for the therapeutic value of cleaning up the mind... And forcing the random musings that make sense in the head through the filter of written language just to see what actually makes sense.
First, get the user endpoint: https://hacker-news.firebaseio.com/v0/user/<username>.json (ex: https://hacker-news.firebaseio.com/v0/user/jl.json?print=pre...)
then iterate the "submitted" array and make a request to each ID at the item endpoint: https://hacker-news.firebaseio.com/v0/item/<ID>.json (ex: https://hacker-news.firebaseio.com/v0/item/8863.json?print=p...)
Then save each JSON response somewhere. You won't be able to get the content of flagged and banned messages. If you do this more than once you'll also need to keep track of the last ID you downloaded, or the updates endpoint to catch edits, I think, although the readme is a bit vague about how exactly that works.