Class Twitter

Description

Access to the Twitter API through HTTP auth

Located in /twitter.lib.php (line 480)

TwitterBase
   |
   --Twitter
Method Summary
Twitter __construct (string $username, string $password, [$source $source = null])
string apiCall (string $twitter_method, string $http_method, string $format, array $options, [boolean $require_credentials = true])
Methods
Constructor __construct (line 495)

Fills in the credentials $credentials and the application source $application_source.

Twitter __construct (string $username, string $password, [$source $source = null])
  • string $username: Twitter username
  • string $password: Twitter password
  • $source $source: string Optional. Name of the application using the API
apiCall (line 509)

Executes an API call

  • access: protected
string apiCall (string $twitter_method, string $http_method, string $format, array $options, [boolean $require_credentials = true])
  • string $twitter_method: The Twitter method to call
  • string $http_method: The HTTP method to use
  • string $format: Return format
  • array $options: Options to pass to the Twitter method
  • boolean $require_credentials: Whether or not credentials are required

Inherited Methods

Inherited From TwitterBase

TwitterBase::blockExists()
TwitterBase::createBlock()
TwitterBase::createFavorite()
TwitterBase::createFriendship()
TwitterBase::destroyBlock()
TwitterBase::destroyFavorite()
TwitterBase::destroyFriendship()
TwitterBase::destroyMessage()
TwitterBase::destroyStatus()
TwitterBase::endSession()
TwitterBase::follow()
TwitterBase::friendshipExists()
TwitterBase::getBlocking()
TwitterBase::getBlockingIDs()
TwitterBase::getFavorites()
TwitterBase::getFollowerIDs()
TwitterBase::getFollowers()
TwitterBase::getFriendIDs()
TwitterBase::getFriends()
TwitterBase::getFriendsTimeline()
TwitterBase::getMentions()
TwitterBase::getMessages()
TwitterBase::getPublicTimeline()
TwitterBase::getReplies()
TwitterBase::getSentMessages()
TwitterBase::getStatus()
TwitterBase::getUserTimeline()
TwitterBase::lastApiCall()
TwitterBase::lastStatusCode()
TwitterBase::leave()
TwitterBase::newMessage()
TwitterBase::rateLimitStatus()
TwitterBase::showUser()
TwitterBase::test()
TwitterBase::updateDeliveryDevice()
TwitterBase::updateProfile()
TwitterBase::updateProfileColors()
TwitterBase::updateStatus()
TwitterBase::verifyCredentials()

Documentation generated on Thu, 14 May 2009 05:53:14 -0400 by phpDocumentor 1.4.2