twitter.api.php in Twitter 6.3
Same filename and directory in other branches
Describe hooks provided by Twitter module.
File
twitter.api.phpView source
<?php
/**
* @file
* Describe hooks provided by Twitter module.
*/
/**
* Loads Twitter accounts for a user.
*
* @param $account
* stdClass object containing a user account.
* @return
* array of stdClass objects with the associated Twitter accounts.
* @see twitter_twitter_accounts()
*/
function hook_twitter_accounts($account) {
}
/**
* Notifies of a saved tweet.
*
* @param $status
* stdClass containing information about the status message.
* @see twitter_status_save() for details about the contents of $status.
*/
function hook_twitter_status_save($status) {
}
Functions
Name | Description |
---|---|
hook_twitter_accounts | Loads Twitter accounts for a user. |
hook_twitter_status_save | Notifies of a saved tweet. |