Skip to content

Instantly share code, notes, and snippets.

@irof
Created June 10, 2011 19:19
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 irof/1019573 to your computer and use it in GitHub Desktop.
Save irof/1019573 to your computer and use it in GitHub Desktop.
リスト名から直近のTweetを取得する
@Grab("org.twitter4j:twitter4j-core:2.2.3")
import twitter4j.*
def twitter = new TwitterFactory().instance
twitter.getUserListStatuses(
twitter.getAllUserLists('kyon_mm').find{it.name == 'groovy'}.id, new Paging()
).each { println "<@${it.user.screenName}> $it.text" }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment