Skip to content

Instantly share code, notes, and snippets.

@gin0606
Created May 17, 2015 07:36
Show Gist options
  • Save gin0606/c4f9aeb6ac852feed863 to your computer and use it in GitHub Desktop.
Save gin0606/c4f9aeb6ac852feed863 to your computer and use it in GitHub Desktop.
ブロック全解除するやつ
require "twitter"
client = Twitter::REST::Client.new do |config|
config.consumer_key = "consumer_key"
config.consumer_secret = "consumer_secret"
config.access_token = "access_token"
config.access_token_secret = "access_token_secret"
end
client.unblock client.blocked_ids.to_a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment