Class Horde_Service_Twitter_Account

Description

Horde_Service_Twitter_Account class for calling account methods

Copyright 2009-2012 Horde LLC (http://www.horde.org/)

Located in /Twitter/Account.php (line 12)


	
			
Variable Summary
 string $_endpoint
 string $_format
Method Summary
 Horde_Service_Twitter_Account __construct (Horde_Service_Twitter $twitter)
 string endSession ()
 string rateLimitStatus ()
 void updateDeliveryDevice ([string $device = ''])
 string updateProfile (array $profile)
 string verifyCredentials ()
Variables
string $_endpoint = 'http://twitter.com/account/' (line 19)

Twitter endpoint for account api calls

  • access: protected
string $_format = 'json' (line 26)

The request/response format to use, xml or json.

  • access: protected
Methods
Constructor __construct (line 32)
  • access: public
Horde_Service_Twitter_Account __construct (Horde_Service_Twitter $twitter)
endSession (line 71)

Ends the current session, invalidates the current auth token if using OAuth.

  • access: public
string endSession ()
rateLimitStatus (line 59)

Obtain the current user's (if authenticated) or IP address' (if not authenticated) remaining number of requests left for the hour.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0rate_limit_status

  • return: JSON representation of result object.
  • access: public
string rateLimitStatus ()
updateDeliveryDevice (line 86)

Update/reset where twitter sends automatic updates to (im/sms etc...)

  • TODO:
  • access: public
void updateDeliveryDevice ([string $device = ''])
  • string $device
updateProfile (line 100)

Update user's profile data.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile

  • return: JSON representation of user's updated profile data
  • TODO:
  • access: public
string updateProfile (array $profile)
  • array $profile: Profile data see API docs for key-values
verifyCredentials (line 45)

Used to verify current credentials, and obtain some basic profile information about the current user.

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials

  • return: JSON reprentation of profile.
  • access: public
string verifyCredentials ()

Documentation generated on Sun, 13 May 2012 04:49:36 +0000 by phpDocumentor 1.4.3