PHP Class Horde_Service_Twitter_Account, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
Author: Michael J. Rubinsky ([email protected])
Afficher le fichier Open project: horde/horde

Protected Properties

Свойство Type Description
$_endpoint string Twitter endpoint for account api calls
$_format string The request/response format to use, xml or json.

Méthodes publiques

Méthode 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.

Method Details

__construct() public méthode

public __construct ( Horde_Service_Twitter $twitter )
$twitter Horde_Service_Twitter

endSession() public méthode

Ends the current session, invalidates the current auth token if using OAuth.
public endSession ( ) : string
Résultat string

rateLimitStatus() public méthode

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0rate_limit_status
public rateLimitStatus ( ) : string
Résultat string JSON representation of result object.

updateDeliveryDevice() public méthode

..)
public updateDeliveryDevice ( string $device = '' ) : void
$device string
Résultat void

updateProfile() public méthode

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0update_profile
public updateProfile ( array $profile ) : string
$profile array Profile data see API docs for key-values
Résultat string JSON representation of user's updated profile data

verifyCredentials() public méthode

http://apiwiki.twitter.com/Twitter-REST-API-Method%3A-account%C2%A0verify_credentials
public verifyCredentials ( ) : string
Résultat string JSON reprentation of profile.

Property Details

$_endpoint protected_oe property

Twitter endpoint for account api calls
protected string $_endpoint
Résultat string

$_format protected_oe property

The request/response format to use, xml or json.
protected string $_format
Résultat string