Class Twitter::Base
In: lib/twitter/base.rb
Parent: Object

Methods

Public Class methods

Initializes the configuration for making requests to twitter

Public Instance methods

Befriends the user specified in the ID parameter as the authenticating user.

Sends a direct message text to user

Destroys a status by id

destroys a give direct message by id if the auth user is a recipient TODO: return http status code

Returns an array of all the direct messages for the authenticated user

  <tt>since</tt> - (optional) Narrows the resulting list of direct messages to just those sent after the specified HTTP-formatted date.

TODO: allow since_id and page as well for direct messages

waiting for twitter to correctly implement this in the api as it is documented

Returns an array of users who are following you

Returns an array of users who are in your friends list

Returns an array of users who are friends for the id or username passed in

Updates your twitter with whatever status string is passed in

received_messages(since=nil)

Alias for direct_messages

Returns an array of statuses that are replies

Returns 20 direct messages sent by auth user TODO: allow since_id and page as well for sent messages

Returns a single status for a given id

Returns an array of statuses for a timeline; Available timelines are determined from the @@timelines variable Defaults to your friends timeline

update(status)

Alias for post

returns all the profile information and the last status for a user

[Validate]