fb-signed-parser

facebook signed request parser

fb-signed-parser

facebook signed request parser for node.js

You can use this module when you want to parse requests from facebook.

var fb_parser = require('fb-signed-parser');
 
...
var signed_request = req.param('signed_request');
var data = fb_parser.parse(signed_request, FB_APP_SECRET);
console.log(data);