module Chatterbot::Followers

methods related to following other users

Public Instance Methods

follow(u) click to toggle source

follow a user

@param u a Twitter::User or user id

# File lib/chatterbot/followers.rb, line 21
def follow(u)
  return unless require_login
  client.follow(u)
end
followers(opts={}) click to toggle source

return a collection of the users followers @todo we should cache this locally

# File lib/chatterbot/followers.rb, line 12
def followers(opts={})
  return unless require_login
  client.followers(opts).to_a
end