Skip to content

Instantly share code, notes, and snippets.

@lucastex
Created March 3, 2009 02:47
Show Gist options
  • Save lucastex/73146 to your computer and use it in GitHub Desktop.
Save lucastex/73146 to your computer and use it in GitHub Desktop.
Using Grails Twitter plugin to update your status
def twitterService
(...)
def updateTwitterStatus = {
twitterService.setStatus "My new status..." //probably would be something like params.newStatus
redirect action: index //or your usual action
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment