Facebook Cookie (FBSR) parser for Express/Connect
Switch branches/tags
Nothing to show
Latest commit 0f12c42 Feb 18, 2012 Johnny G. Halife if Facebook cookie comes on header, it will take it and create the co…


Facebook Cookie (FBSR) parser for Express/Connect

Quick and dirty implemenentation (maintained and poor yet) for parsing and setting the Facebook Session Cookie (FBSR) on the on going request.


[sudo] npm install facebook-session-express

Sample Usage

var facebook = require('facebook-session-express');

var FACEBOOK_APP_ID = '{your_app_id}',
	FACEBOOK_SECRET = '{your_app_secret}';

app.get("/", facebook(FACEBOOK_APP_ID, FACEBOOK_SECRET), function(req, res){
	var user = req.facebook.session; /* this is how you access your session */


Proudly built using node.js using npm.


Written by @johnnyhalife for Tactivos under do the whatever you want license