Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- twitter_client = Twitter::REST::Client.new { [my credentials here] }
- twitter_client.friends
- twitter_client.friends.each do |friend|
- SomeModel.do_what_you_need_to_with(friend)
- AnotherModel.do_something_else_with(friend)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement