You are here

function hook_twitter_prefetch_timeline in Twitter 7.6

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

Notifies that the module is about to update a user timeline.

Parameters

$account: User account object.

array $params: Any arguments that are going to be passed to the Twitter API. May already include the 'since' argument.

See also

twitter_fetch_user_timeline()

File

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

Code

function hook_twitter_prefetch_timeline($account, $params) {
  watchdog('mymodule', 'About to fetch the tweets for %screenname.', array(
    '%screenname' => $account->screen_name,
  ));
}