- Register for Twitter4j and get the API Keys
- Relace the values in
twitter4j.properties-
twitter4j.properties
oauth.consumerKey=<>
oauth.consumerSecret=<>
oauth.accessToken=<>
oauth.accessTokenSecret=<>- Then run the spring boot app either from command line or using maven
./mvnw spring-boot:runOpen http://localhost:8080/ and Enjoy !