Distortion To Static


The life, times and ramblings of MasterCJ
Twitter ID bash one-liner@ 30/11/09 11:34 am
I had to get some IDs to test out this twitter plugin for wordpress. This is how I did it.

for i in $(curl -s 'http://integratedsearch.twitter.com/search.html?callback=processPageLoadSearch&layout=none&locale=en&page=1&q=<YOUR SEARCH TERM HERE>' |sed -re 's/\\n/\n/g' |sed -re 's/\\t/\t/g' |sed -re 's/\\"/"/g' |grep statuses |cut -d '/' -f 4 |sort -u); do printf '%s,' `curl -s http://twitter.com/$i |grep 'link rel="alternate"' |head -n 1 |cut -d '/' -f 6 |cut -d '.' -f 1`; done; echo;

Enjoy!
permalink 1 comment
Comment by X^` @ 04/01/10 08:40 pm
Hmm have u tried loading this webby on non firefox browser( it works fine on FF IE8 but not google chrome .. blah) cuz it looks like i cant see all the post clearly.