Created
January 28, 2015 18:49
-
-
Save harry1989/8e343ae39b9ac21ef70e to your computer and use it in GitHub Desktop.
Twitter REPL
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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