Method | Description | |
---|---|---|
favorite ( ) : stdClass | Favorite a tweet. Expects: - tweetId: | |
retweet ( ) : string | Retweet a tweet. Expects the following in $this->vars: - tweetId: The tweet id to retweet. | |
twitterUpdate ( ) : array | Update the twitter timeline. | |
unfavorite ( ) | Unfavorite a tweet. Expects: - tweetId: | |
updateStatus ( ) : string | Update twitter status. Expects: - inReplyTo: - statusText: |
Method | Description | |
---|---|---|
_buildTweet ( stdClass $tweet ) : Horde_View | Helper method to build a view object for a tweet. | |
_doTwitterGetPage ( ) : [type] | Helper method for getting a slice of tweets. | |
_getTwitterObject ( ) : Horde_Service_Twitter | ||
_twitterError ( $e ) |
protected _buildTweet ( stdClass $tweet ) : Horde_View | ||
$tweet | stdClass | The tweet object. |
return | Horde_View | The view object, populated with tweet data. |
protected _doTwitterGetPage ( ) : [type] | ||
return | [type] |
protected _getTwitterObject ( ) : Horde_Service_Twitter | ||
return | Horde_Service_Twitter |
public favorite ( ) : stdClass | ||
return | stdClass |
public twitterUpdate ( ) : array | ||
return | array | An hash containing the following keys: - o: The id of the oldest tweet - n: The id of the newest tweet - c: The HTML content |
public updateStatus ( ) : string | ||
return | string | The HTML text of the new tweet. |