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

Methods

Public Class methods

Initializes the configuration for making requests to twitter Twitter example:

  Twitter.new('email/username', 'password')

Identi.ca example:

  Twitter.new('email/username', 'password', :api_host => 'identi.ca/api')

Public Instance methods

Blocks the user specified by id for the auth user

Favorites the status specified by id for the auth user

Befriends id_or_screenname for the auth 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

Un-favorites the status specified by id for the auth user

Defriends id_or_screenname for the auth user

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

Returns the most recent favorite statuses for the autenticating user

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

Turns notifications by id_or_screenname on for auth user.

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

Returns true if friendship exists, false if it doesn‘t.

Turns notifications by id_or_screenname off for auth user.

Posts a new update to twitter for auth user.

received_messages(options={})

Alias for direct_messages

Returns an array of statuses that are replies

Returns direct messages sent by auth user

Returns a single status for a given id

Returns an array of statuses for a timeline; Defaults to your friends timeline.

Unblocks the user specified by id for the auth user

update(status, options={})

Alias for post

Updates your deliver device and returns Twitter::User object

Updates your location and returns Twitter::User object

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

Verifies the credentials for the auth user.

  raises Twitter::CantConnect on failure.

[Validate]