Re: Re: People you're following on Twitter using twitter-auth

Refactoring of: People you're following on Twitter using twitter-auth

Language: Ruby

# Thanks for the tip! I had to do the following for this app, but it works much better now - much, much faster!

class User < TwitterAuth::GenericUser

  def twitter_following_ids # ids of users followed on twitter
    twitter.get("/friends/ids").collect! { |id| id.to_s }
  rescue
    nil
  end

end
Reveal More
Added over 2 years ago by Costco_normal trevorturk