def _inject(): return dict(xrange=xrange, hex=hex, now=now(), minutes=minutes, locale=locale)
def facebook_access_token(self): access_token = self.session.get('facebook_access_token', None) expires_at = self.session.get('facebook_access_token_expires_at', None) print expires_at, now(), expires_at <= now() if not (access_token and expires_at) or expires_at < now(): return None