Create a folder fbconnect (or whatever you like) Save contents of above file as index.js Replace APP_ID and APP_SECRET in lines 4 and 5 with your application specific constants. npm install --save express node index.js Will start the server.
Open a browser and go to http://localhost:3001/fbconnect