Skip to content

Instantly share code, notes, and snippets.

@Raynos
Created September 25, 2012 17:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Raynos/ec484824760bf271a19e to your computer and use it in GitHub Desktop.
Save Raynos/ec484824760bf271a19e to your computer and use it in GitHub Desktop.
function getFacebookSession(options, req, res, callback) {
var keygrip = new KeyGrip(options.keygrip)
, cookies = options.cookies = new Cookies(req, res, keygrip)
, session = new RedSess(req, res, options)
getUser(session, callback, checkFacebookParams)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment