Requirements At the program start-up, it should prompt a user to enter up to 5 different topics (e.g. baseball, basketball, movies, etc.) The program should read these topics continuously and output the tweets to different files (e.g. baseball.txt, movies.txt) until the user exit the program.
Note: For compiling and running this application you need Java 7 or later
Steps:
- Get the code from gitRepo/master
- open commandPrompt(WINDOWS) OR Terminal(MAC)
- Go to TwitterApp class file path
- After setting java path in environment variables or .bash_profile, execute the below commands to compile and run the file
- Commands: javac -cp "./lib/";"." TwitterApp.java java -cp "./lib/";"." TwitterApp
- Will prompt user with instructions
- Enter the input or Control C to exit
- Corresponding files will be generated in root folder where the TwitterApp class file is located
- We need OAuth configuration keys from twitter app to connect(For testing hardcoded in TwitterApp for now)