Skip to content

Instantly share code, notes, and snippets.

@kiy0taka
Last active December 18, 2015 03:39
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 kiy0taka/5719840 to your computer and use it in GitHub Desktop.
Save kiy0taka/5719840 to your computer and use it in GitHub Desktop.
@Grab('org.twitter4j:twitter4j-core:3.0.3')
import twitter4j.*
TwitterFactory.singleton.search(new Query(query:'ほげほげ', count:100)).tweets.each { println it.text }
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