2 ms·
Interesting. I can still see these "deleted" tweets when I retrieve JSON from the command line. I do not like using Twitter's user interface, especially the wa
by 1vuio0pswjnm7 5y ago
Interesting. I can still see these "deleted" tweets when I retrieve JSON from the command line. I do not like using Twitter's user interface, especially the way it uses Javascript, so I wrote a quick shell script called 1.sh to read Twitter without using a graphical web browser.
https://news.ycombinator.com/item?id=27056734 https://news.ycombinator.com/item?id=27056734
To read the JSON, I have been experimenting with json_reformat from https://github.com/lloyd/yajl https://github.com/lloyd/yajl
1.sh > 1.json
sed -n /{\"data\"/p 1.json|json_reformat|sed -n -e 's/ *//' \
-e '/created_at/p;/sation_id_str/p;/full_text/p'|grep -B2 full_text|less