You are here

function hook_twitter_statuses_alter in Twitter 7.5

Same name and namespace in other branches
  1. 6.5 twitter.api.php \hook_twitter_statuses_alter()
  2. 7.6 twitter.api.php \hook_twitter_statuses_alter()

Allow the system to modify tweets that are about to be saved.

Parameters

array $statuses: The statuses to be saved.

object $account: User account object.

See also

twitter_fetch_user_timeline()

1 invocation of hook_twitter_statuses_alter()
twitter_fetch_user_timeline in ./twitter.inc
Fetches a user's timeline.

File

./twitter.api.php, line 132
Describe hooks provided by Twitter module.

Code

function hook_twitter_statuses_alter(&$statues, $account) {
  watchdog('mymodule', 'About to insert %count tweets for %screenname.', array(
    '%count' => count($statuses),
    '%screenname' => $account->screen_name,
  ));
}