Permalink
Browse files

Merge branch 'master' of github.com:cronopio/btcfb

  • Loading branch information...
2 parents 3009117 + fc3cdfb commit 747b91d9210b701e9a277e1d1bcd8422289efe29 arpunk committed Jun 8, 2011
Showing with 15 additions and 1 deletion.
  1. +5 −0 server.js
  2. +10 −1 views/layout.jade
View
@@ -47,5 +47,10 @@ app.get('/', function(req, res){
});
});
+app.post('/', function(req, res){
+ console.log('Nueva Info');
+ console.log(req.body);
+});
+
app.listen(3001);
console.log("Express server listening on port %d", app.address().port);
View
@@ -3,4 +3,13 @@ html
head
title= title
link(rel='stylesheet', href='/stylesheets/style.css')
- body!= body
+ script(src='http://connect.facebook.net/en_US/all.js')
+ script
+ FB.init({
+ appId: '124829930933291',
+ status: true,
+ cookie: true,
+ xfbml: true
+ });
+ body!= body
+ #fb-root

0 comments on commit 747b91d

Please sign in to comment.