如何从vkontakte获得长期访问令牌?

我正在使用护照js在我的node.js应用程序中对用户进行身份validation。 在vkontakte的情况下,我得到的访问令牌只有一天有效? 这是我的代码

passport.use(new VKontakteStrategy({clientID: '******',clientSecret: '********',callbackURL: "http://example.com/signin/vkontakte/callback",profileFields: ['notify','friends','photos','notes','pages','offers','questions','wall','messages','offline']}, function (accessToken, refreshToken, profile, done) { process.nextTick(function () { console.log('vk profile: '+util.inspect(profile)); console.log('refresh Token: '+refreshToken); profile.accessToken = accessToken.toString(); return done(null, profile); }); } 

)); 有没有办法延长有效期? 帮助赞赏。 提前致谢。

在您的令牌请求中设置范围=离线