'called by cron job'

@api.model
def _refresh_favorite_tweets(self):

    website = self.env['website'].search([('twitter_api_key', '!=', False), ('twitter_api_secret', '!=', False), ('twitter_screen_name', '!=', False)])
    _logger.debug('Refreshing    tweets    for    website    IDs:    %r', website.ids)
    website.fetch_favorite_tweets()
