Property | Type | Description | |
---|---|---|---|
$_endpoint | string | Twitter endpoint for account api calls | |
$_format | string | The request/response format to use, xml or json. |
Method | Description | |
---|---|---|
__construct ( Horde_Service_Twitter $twitter ) | ||
endSession ( ) : string | Ends the current session, invalidates the current auth token if using OAuth. | |
rateLimitStatus ( ) : string | Obtain the current user's (if authenticated) or IP address' (if not authenticated) remaining number of requests left for the hour. | |
updateDeliveryDevice ( string $device = '' ) : void | Update/reset where twitter sends automatic updates to (im/sms etc. | |
updateProfile ( array $profile ) : string | Update user's profile data. | |
verifyCredentials ( ) : string | Used to verify current credentials, and obtain some basic profile information about the current user. |
public __construct ( Horde_Service_Twitter $twitter ) | ||
Horde_Service_Twitter |
public endSession ( ) : string | ||
return | string |
public rateLimitStatus ( ) : string | ||
return | string | JSON representation of result object. |
public updateDeliveryDevice ( string $device = '' ) : void | ||
$device | string | |
return | void |
public updateProfile ( array $profile ) : string | ||
$profile | array | Profile data see API docs for key-values |
return | string | JSON representation of user's updated profile data |
public verifyCredentials ( ) : string | ||
return | string | JSON reprentation of profile. |
protected string $_endpoint | ||
return | string |
protected string $_format | ||
return | string |