function hook_twitter_insert_statuses in Twitter 6.5
Same name and namespace in other branches
- 7.6 twitter.api.php \hook_twitter_insert_statuses()
- 7.5 twitter.api.php \hook_twitter_insert_statuses()
Allow the system to react after tweets are saved.
Parameters
array $statuses: The statuses that were saved.
object $account: User account object.
See also
1 invocation of hook_twitter_insert_statuses()
- twitter_fetch_user_timeline in ./
twitter.inc - Fetches a user's timeline.
File
- ./
twitter.api.php, line 140 - Describe hooks provided by Twitter module.
Code
function hook_twitter_insert_statuses($statues, $account) {
watchdog('mymodule', '%count tweets were imported for %screenname.', array(
'%count' => count($statuses),
'%screenname' => $account->screen_name,
));
}