Skip to content

Instantly share code, notes, and snippets.

@QB
Created May 2, 2013 20:41
Show Gist options
  • Save QB/5505257 to your computer and use it in GitHub Desktop.
Save QB/5505257 to your computer and use it in GitHub Desktop.
Twitter で片思いの人を全てリムーブする。
#coding: utf-8
require "twitter"
Twitter.configure do |config|
config.consumer_key = ""
config.consumer_secret = ""
config.oauth_token = ""
config.oauth_token_secret = ""
end
friend = Twitter.friend_ids()
follower = Twitter.follower_ids()
Twitter.unfollow(friend.ids - follower.ids)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment