3 Tweeting - Reference Documentation
Authors:
Version: 4.0.4.2
3 Tweeting
The following are some simple examples to give you a feel for the plugin.Sending a twitter update
In a controller or serviceclass SomeController {
def twitter4jService def someAction = {
twitter4jService.updateStatus("This is a status-update from twitter")
}
}
Getting your own latest updates
class SomeController { def twitter4jService def someAction = { def updates = twitter4jService.getUserTimeline() // of type ResponseList<Status> [statusUpdates: updates] } }