PHP 클래스 Horde_Service_Twitter_Account, horde

Copyright 2009-2016 Horde LLC (http://www.horde.org/)
저자: Michael J. Rubinsky ([email protected])
파일 보기 프로젝트 열기: horde/horde

보호된 프로퍼티들

프로퍼티 타입 설명
$_endpoint string Twitter endpoint for account api calls
$_format string The request/response format to use, xml or json.

공개 메소드들

메소드 설명
__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.

메소드 상세

__construct() 공개 메소드

public __construct ( Horde_Service_Twitter $twitter )
$twitter Horde_Service_Twitter

endSession() 공개 메소드

Ends the current session, invalidates the current auth token if using OAuth.
public endSession ( ) : string
리턴 string

rateLimitStatus() 공개 메소드

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

updateDeliveryDevice() 공개 메소드

..)
public updateDeliveryDevice ( string $device = '' ) : void
$device string
리턴 void

updateProfile() 공개 메소드

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
리턴 string JSON representation of user's updated profile data

verifyCredentials() 공개 메소드

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

프로퍼티 상세

$_endpoint 보호되어 있는 프로퍼티

Twitter endpoint for account api calls
protected string $_endpoint
리턴 string

$_format 보호되어 있는 프로퍼티

The request/response format to use, xml or json.
protected string $_format
리턴 string