Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Killed by rate limit.
require "twitter"
client = do |config|
config.consumer_key = "hoge"
config.consumer_secret = "fuga"
config.access_token = "piyo"
config.access_token_secret = "moge"
end"website.txt", "w") do |file|
client.friend_ids.each do |id|
user = client.user(id)
website = || "none"
file.puts "#{}(@#{user.screen_name}):#{website}"
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.