Skip to content

Instantly share code, notes, and snippets.

@irof

irof/gist:1019573

Created Jun 10, 2011
Embed
What would you like to do?
リスト名から直近の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
You can’t perform that action at this time.