# using the Twitter base app mentioned here: http://blog.railsrumble.com/2009/7/23/this-bird-s-ready-to-rumble
class User < TwitterAuth::GenericUser
def twitter_following_ids # ids of users followed on twitter
twitter.get("/friends/ids")
rescue
nil
end
end
end
# Using /friends/ids API, no pagination necessary and just one call returns all friends' ids
Reveal More


