Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- require 'rubygems'
- require 'grackle'
- client = Grackle::Client.new(:auth=>{:type=>:basic,:username=>'lpgauth',:password=>'password'})
- while true do
- begin
- if client.users.show?({:screen_name=>'soundcloud'}).followers_count == 24999
- client.friendships.create!({:screen_name=>'soundcloud'})
- break
- end
- rescue Grackle::TwitterError
- # noop
- end
- sleep(30)
- end
Add Comment
Please, Sign In to add comment