bnoguchi/mongoose-auth — Issue #58: facebook offline_access support
Author: jhoff
Created: 2011-11-28 16:08:59+00:00
State: open

When the offline_access option is set in the scope for facebook, the access token will never expire.

http://developers.facebook.com/docs/reference/api/permissions/#extended_perms

in lib/modules/facebook/everyauth.js, accessTokExtra.expires is undefined when offline_access is allowed by the user, which is setting the expires param to Jan 1, 1970.