Search code examples
javaspringspring-mvctwitterspring-social-twitter

Spring Social Twitter


I am new to Spring and trying to make a web application that reads the last 20 tweets of an user with getUserTimeline(screenName);. So far I made this Tutorial from Spring https://spring.io/guides/gs/accessing-twitter/ and changed the request so I can see the last 20 tweets of the user. But before I can see them I'm getting redirected to the Twitter authorization site. I saw a lot about Connection in the reference but I'm not shure which is the best one for my app. I want to save the tweets in a Database and fetch them to the view.


Solution

  • I solved it.. It needs an Twitter Template with all tokens in the application.properties file.