Skip to content

Instantly share code, notes, and snippets.

@gustafnk
Last active August 29, 2015 13:56
Show Gist options
  • Save gustafnk/8899685 to your computer and use it in GitHub Desktop.
Save gustafnk/8899685 to your computer and use it in GitHub Desktop.
Get twitter list in ruby
require 'twitter'
require 'pry'
client = Twitter::REST::Client.new do |config|
config.consumer_key = ""
config.consumer_secret = ""
config.access_token = ""
config.access_token_secret = ""
end
tweets = (client.list_timeline 'gustaf_nk', 'list', {:count => 180})
binding.pry
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment