function twitter_touch_account in Twitter 6.2
Updates the 'last refreshed on' timestamp of a given locally cached Twitter account.
Parameters
$screen_name: A Twitter screen name..
See also
4 calls to twitter_touch_account()
- twitter_cron in ./
twitter.module - Implementation of hook_cron()
- twitter_fetch_statuses in ./
twitter.inc - Fetch the latest statuses for a Twitter.com account, regardless of privacy.
- twitter_fetch_timeline in ./
twitter.inc - Fetch the public timeline for a Twitter.com account.
- twitter_user_save in ./
twitter.inc
File
- ./
twitter.inc, line 398 - A wrapper API for the Twitter microblogging service.
Code
function twitter_touch_account($screen_name = '') {
db_query("UPDATE {twitter_account} SET last_refresh = %d WHERE screen_name = '%s'", time(), $screen_name);
}