Overview

Packages

  • Service
    • Twitter

Classes

  • Horde_Service_Twitter
  • Horde_Service_Twitter_Account
  • Horde_Service_Twitter_Auth
  • Horde_Service_Twitter_Auth_Oauth
  • Horde_Service_Twitter_Exception
  • Horde_Service_Twitter_Request
  • Horde_Service_Twitter_Request_Oauth
  • Horde_Service_Twitter_Statuses
  • Overview
  • Package
  • Class
  • Tree

Class Horde_Service_Twitter_Account

Horde_Service_Twitter_Account class for calling account methods

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

Package: Service\Twitter
Category: Horde
License: BSD
Author: Michael J. Rubinsky mrubinsk@horde.org
Located at Horde/Service/Twitter/Account.php
Methods summary
public
# __construct( Horde_Service_Twitter $twitter )

Parameters

$twitter
public string
# verifyCredentials( )

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

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

Returns

string
JSON reprentation of profile.

Throws

Horde_Service_Twitter_Exception
public string
# rateLimitStatus( )

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

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

Returns

string
JSON representation of result object.
public string
# endSession( )

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

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

Returns

string
public
# updateDeliveryDevice( string $device = '' )

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

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

Parameters

$device
public string
# updateProfile( array $profile )

Update user's profile data.

Update user's profile data.

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

Parameters

$profile
Profile data see API docs for key-values

Returns

string
JSON representation of user's updated profile data
API documentation generated by ApiGen