Socket
Book a DemoInstallSign in
Socket

facebook-session-express

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

facebook-session-express

Facebook Cookie (FBSR) parser for Express/Connect

0.0.62
latest
Source
npmnpm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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

Installation

[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 */
});

Requirements

Proudly built using node.js using npm.

Meta

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

Keywords

express

FAQs

Package last updated on 17 Feb 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.