Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 989 Bytes

readme.md

File metadata and controls

40 lines (28 loc) · 989 Bytes

nodejs-fb-jade-sample-app

A sample Facebook application. This application can be run standalone or on Heroku.

This builds on the work here https://github.com/daaku/nodejs-fb-sample-app by adding in Jade support

Make sure you have nodejs installed.

git clone https://github.com/JeremyMarshall/nodejs-fb-jade-sample-app
cd nodejs-fb-jade-sample-app
npm install

export FACEBOOK_APP_ID=123
export FACEBOOK_SECRET=fixme
export FACEBOOK_NAMESPACE=fixme
./app.js

Live Demo

Canvas: https://apps.facebook.com/nodejsfbjade/

Website: https://nodejs-fb-jade-sample-app.herokuapp.com/

FAQ

String contat for HTML?

Please use this sample as a guide for a Facebook application. You should probably use one of the various template engines, and maybe something other than express and/or request if that doesn't suit your needs.