You are here

twitter.api.php in Twitter 6.3

Describe hooks provided by Twitter module.

File

twitter.api.php
View 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

Namesort descending Description
hook_twitter_accounts Loads Twitter accounts for a user.
hook_twitter_status_save Notifies of a saved tweet.