From the course: Spring: Spring Integration
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Integrate Twitter using Spring Integration - Spring Tutorial
From the course: Spring: Spring Integration
Integrate Twitter using Spring Integration
- [Instructor] Social media has become an important part of business-to-consumer communication. So let's build a Twitter connection endpoint together. Initialize the project files by running git checkout 04_03b. Now, for this lesson, we want to display a corporate newsfeed that is published on Twitter to our local consumer dashboard. There's a bit of a lift that a developer needs to do if you're following along with this code at home in that you need to create a developer account at Twitter. And the reason you need to do that is because in our application properties file, they're in lines 7 through 10, you will need to fill in your own consumerKey, consumerSecret, accessToken and accessTokenSecret. You can obtain those from Twitter by creating a free developer account and instructions are at developer.twitter.com. Once you have done that, and filled in your own OAuth keys and tokens, then you can go to application.xml.…