Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

modified example to use connect cookieParser

  • Loading branch information...
commit eb66ca3a70cf462cd6ea3cf19943f144af1dc7fb 1 parent fc07c11
@tenorviol authored
Showing with 5 additions and 2 deletions.
  1. +4 −2 example/connect.js
  2. +1 −0  readme.md
View
6 example/connect.js
@@ -5,9 +5,11 @@ var port = 3000;
connect()
.use(connect.favicon())
+ .use(connect.cookieParser())
+ .use(connect.bodyParser())
.use(fbsdk.facebook({
- appId : 'YOUR APP ID',
- secret : 'YOUR APP SECRET'
+ appId : '204017379608368',
+ secret : '05670b3c6d771ab708f3d5089e581655'
}))
.use(function(req, res, next) {
View
1  readme.md
@@ -29,6 +29,7 @@ For more information on querying Facebook's graph api, see
connect()
.use(connect.cookieParser())
+ .use(connect.bodyParser())
.use(fbsdk.facebook({
appId : 'YOUR APP ID',
secret : 'YOUR API SECRET'

0 comments on commit eb66ca3

Please sign in to comment.
Something went wrong with that request. Please try again.