facebook-sdk
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -21,5 +21,10 @@ var connect = require('connect'), | ||
console.log(me); | ||
if (me.error) { | ||
res.end('An api error occured, so probably you logged out. Refresh to try it again...'); | ||
} else { | ||
res.end('<a href="' + req.facebook.getLogoutUrl() + '">Logout</a>'); | ||
} | ||
}); | ||
res.end('<a href="' + req.facebook.getLogoutUrl() + '">Logout</a>'); | ||
} else { | ||
@@ -26,0 +31,0 @@ res.end('<a href="' + req.facebook.getLoginUrl() + '">Login</a>'); |
@@ -0,1 +1,6 @@ | ||
0.3.2 / 2011-05-02 | ||
------------------ | ||
* setting the { agent: false } on https requests to Facebook (experimental) | ||
0.3.1 / 2011-04-19 | ||
@@ -2,0 +7,0 @@ ------------------ |
/** | ||
* Copyright 2011 Facebook, Inc. | ||
* Copyright 2011 Christopher Johnson <tenorviol@yahoo.com> | ||
@@ -512,3 +513,4 @@ * | ||
path: parts.pathname, | ||
method: 'POST' | ||
method: 'POST', | ||
agent: false | ||
}; | ||
@@ -515,0 +517,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"keywords": ["facebook", "sdk", "graph", "api", "connect", "canvas"], | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"author": "Christopher Johnson <tenorviol@yahoo.com> (http://github.com/tenorviol)", | ||
@@ -8,0 +8,0 @@ "repository" : { |
4
55592
1451