criso / fbgraph

NodeJs module to access the facebook graph api
http://criso.github.io/fbgraph/
1.09k stars 174 forks source link

Fixed code to new version of express #112

Closed Darker closed 7 years ago

Darker commented 7 years ago

I got this example to work, at least as far as authenticating user is concerned. Usage of express was grossly outdated.

mattandrews commented 7 years ago

Thanks for doing this – it might be worth adding a note above this code to specify the dependencies required, eg:

npm install --save express fbgraph method-override body-parser errorhandler pug
criso commented 7 years ago

thanks! - I added the npm line as well :)