Skip to content

Instantly share code, notes, and snippets.

@harry1989
Created January 28, 2015 18:49
Show Gist options
  • Save harry1989/8e343ae39b9ac21ef70e to your computer and use it in GitHub Desktop.
Save harry1989/8e343ae39b9ac21ef70e to your computer and use it in GitHub Desktop.
Twitter REPL
Description
This will be a REPL where user can query for twitter content within node REPL.
End result will be like this..
node twitter-repl
# Will get into REPL
# Get latest 5 tweets from my feed
twitter>select top 5 * from tweets
# Author Tweet content
1 harry blah.. blah
2 Sri Is this good?
# Get latest 5 of my followers
twitter>select top 5 * from followers
mvp1234
harry_sistalam
# Get top 5 followers of mine who has more than 50 followers
twitter>select top 5 * from followers where followers > 50
mvp1234
izs
.
.
.
.
.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment