Adds given user as a friend. Returns user object as given by Twitter REST server response.
For user argument you may pass in the unique integer user ID, screen name or Twitter::User object representation.
# File lib/twitter/model.rb, line 143 def befriend(user) @client.friend(:add, user) end
Removes given user as a friend. Returns user object as given by Twitter REST server response.
For user argument you may pass in the unique integer user ID, screen name or Twitter::User object representation.
# File lib/twitter/model.rb, line 152 def defriend(user) @client.friend(:remove, user) end
Returns an Array of user objects that represents the authenticated user's friends on Twitter.
# File lib/twitter/model.rb, line 134 def followers(options = {}) @client.my(:followers, options) end
Generated with the Darkfish Rdoc Generator 2.