The Twitter4J Plugin
It seems that everyone is on Twitter[70] these days—even if they can’t tell you why. We’ll take advantage of this fact to help our hardworking event organizers get the word out about their events. If an event’s organizer creates a Twitter account for their event, we will provide a form on the dashboard that will enable them to post updates to their event’s Twitter timeline. To do this, we’ll use the Twitter4J plugin mentioned earlier.
The Twitter4J plugin gives us easy access to the Twitter4J library.[71] In TekDays/grails-app/conf/BuildConfig.groovy, add the following dependency:
| | compile ":twitter4j:0.3.2" |
This plugin provides a service class (Twitter4jService) that gives us access to the Twitter4J API,[72] which has ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access