Skip to content

Instantly share code, notes, and snippets.

@ksky
Created October 10, 2010 08:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ksky/619087 to your computer and use it in GitHub Desktop.
Save ksky/619087 to your computer and use it in GitHub Desktop.
// g100pon #14 twitterにつぶやく
@Grab('org.twitter4j:twitter4j-core:[2.1,)')
import twitter4j.*
twitter = new TwitterFactory().instance
twitter.updateStatus 'Groovy rocks!'
oauth.consumerKey=**********
oauth.consumerSecret=**********
oauth.accessToken=**********
oauth.accessTokenSecret=**********
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment