Skip to content
Express middleware to handle Facebook’s `x-hub-signature` header
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
lib
src
.babelrc
.gitignore
LICENSE.md
README.md
package.json
yarn.lock

README.md

Install

yarn add verify-facebook-request-signature

Usage

import verify from 'verify-facebook-request-signature';
const verifySignature = verify(FACEBOOK_APP_SECRET); // returns a curried function

// add as express middleware 
app.use(bodyParser.json({ verify: verifySignature }));
You can’t perform that action at this time.