function hook_twitter_statuses_alter in Twitter 6.5
Same name and namespace in other branches
- 7.6 twitter.api.php \hook_twitter_statuses_alter()
- 7.5 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
1 invocation of hook_twitter_statuses_alter()
- twitter_fetch_user_timeline in ./
twitter.inc - Fetches a user's timeline.
File
- ./
twitter.api.php, line 126 - 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,
));
}