Browse files

updated readme to reflect current express settings for middleware

  • Loading branch information...
1 parent 285f881 commit 0bac35036c84a2b1485e520307b15caa79a16c06 @iamwilhelm iamwilhelm committed Jul 27, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 Readme.md
View
6 Readme.md
@@ -20,9 +20,9 @@ facebook-js has just three methods.
var express = require('express')
, fb = require('facebook-js')
, app = express.createServer(
- express.bodyDecoder()
- , express.cookieDecoder()
- , express.session()
+ express.bodyParser()
+ , express.cookieParser()
+ , express.session({ secret: 'some secret' })
);
app.get('/', function (req, res) {

0 comments on commit 0bac350

Please sign in to comment.