Created
June 10, 2011 19:19
-
-
Save irof/1019573 to your computer and use it in GitHub Desktop.
リスト名から直近のTweetを取得する
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@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