node-jso wraps up the JSO OAuth Library and provides it to Node.js.
Note: Currently this is not a tested wrapper (it may break) and provided is only provided as an example for this StackOverflow question. However, I have added localStorage behavior and $.ajax wrapper and exposed jso.oajax
Rgds....Hoonto/Matt
npm install node-jso
var jso = require('node-jso');
jso.jso_configure({
"facebook": {
client_id: "xxxxxxxxxx",
redirect_uri: "http://localhost/~andreas/jso/",
authorization: "https://www.facebook.com/dialog/oauth",
presenttoken: "qs"
}
});