Skip to content

Instantly share code, notes, and snippets.

@tokoro10g
Created March 8, 2015 09:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tokoro10g/13e043cb28a9748ac7c1 to your computer and use it in GitHub Desktop.
Save tokoro10g/13e043cb28a9748ac7c1 to your computer and use it in GitHub Desktop.
mikutterコンソールから特定のユーザのフォロワーを一括ブロック ref: http://qiita.com/tokoro10g/items/b2c2f8c8375a460d608c
Service.primary.followers(screen_name: "ユーザ名").next { |users|
users.each { |user|
(Service.primary.twitter/:blocks/:create).json(screen_name: user.idname)
# puts "blocked: " + user.idname
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment