This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/node.js b/src/node.js | |
index afc70bf..8417460 100644 | |
--- a/src/node.js | |
+++ b/src/node.js | |
@@ -138,11 +138,10 @@ process.mixin = function() { | |
if (target === d.value) { | |
continue; | |
} | |
- | |
if (deep && d.value && typeof d.value === "object") { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bob:express-auth ciaran$ kiwi --version | |
0.2.5 | |
Bob:express-auth ciaran$ kiwi install oauth | |
install : oauth | |
resolve : version 0.0.4 | |
create : /Users/ciaran/.kiwi/current/seeds/oauth/0.0.4 | |
fetch : 0.0.4.seed | |
unpack : /Users/ciaran/.kiwi/current/seeds/oauth/0.0.4/oauth.seed | |
remove : /Users/ciaran/.kiwi/current/seeds/oauth/0.0.4/oauth.seed | |
check : dependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~/.node_libraries/connect/middleware/session.js:34 | |
store = options.store || new MemoryStore; | |
^ | |
TypeError: undefined is not a function |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var connect = require('connect'); | |
var url= require('url') | |
var MemoryStore = require('connect/middleware/session/memory'); | |
var OAuth= require('oauth').OAuth; | |
var oa= new OAuth("http://localhost:3000/oauth/request_token", | |
"http://localhost:3000/oauth/access_token", | |
"JiYmll7CX3AXDgasnnIDeg", "mWPBRK5kG2Tkthuf5zRV1jYWOEwnjI6xs3QVRqOOg", | |
"1.0A", "http://localhost:4000/oauth/callback", "HMAC-SHA1"); | |
function routes(app) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<testsuite failures="6" time="0.053" errors="0" skipped="0" tests="6" name="twitter4j.util.TimeSpanConverterTest"> | |
<properties> | |
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/> | |
<property name="sun.boot.library.path" value="/System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Libraries"/> | |
<property name="java.vm.version" value="17.1-b03-307"/> | |
<property name="awt.nativeDoubleBuffering" value="true"/> | |
<property name="gopherProxySet" value="false"/> | |
<property name="mrj.build" value="10M3261"/> | |
<property name="java.vm.vendor" value="Apple Inc."/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
With these changes everything seems to work just peachy-fine for me. Is your Application configured as a 'client' type rather than a browser type? (Client is correct for pin verification) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From f8c22a73e8c516963d8958796334413ccb243f17 Mon Sep 17 00:00:00 2001 | |
From: ciaranj <ciaranj@gmail.com> | |
Date: Sun, 6 Feb 2011 19:36:23 +0000 | |
Subject: [PATCH] Try and find qs on the path if npm module not there | |
--- | |
lib/connect/middleware/bodyDecoder.js | 11 +++++++++-- | |
1 files changed, 9 insertions(+), 2 deletions(-) | |
diff --git a/lib/connect/middleware/bodyDecoder.js b/lib/connect/middleware/bodyDecoder.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function rehash (values) { | |
var hash = {} | |
, len | |
, i=0; | |
if (!Array.isArray(values)) return hash; | |
len= values.length | |
if( len % 2 == 1) return []; //mis-matched array ? | |
while( i < len) { // for(i =0 ;i < len; ) { | |
hash[values[i++]]= values[i++]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var express= require('express') | |
, auth= require('./.node_modules/connect-auth') | |
, url= require('url'); | |
var app = express.createServer() | |
, yourTwitterConsumerKey= "xxx" | |
, yourTwitterConsumerSecret= "yyyy" | |
, fbId= "asdsd" | |
, fbSecret= "asdsdsds" | |
, fbCallbackAddress= "http://somehost.com/auth/facebook_callback"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var sys= require('sys'); | |
var OAuth= require('oauth').OAuth; | |
oa= new OAuth("https://twitter.com/oauth/request_token", | |
"https://twitter.com/oauth/access_token", | |
yourConsumerKey, yourConsumerSecret, | |
"1.0A", "http://localhost:3000/oauth/callback", "HMAC-SHA1"); | |
var request= oa.get("https://userstream.twitter.com/2/user.json", yourAccessToken, yourTokenSecret ); | |
request.addListener('response', function (response) { | |
response.setEncoding('utf8'); |
OlderNewer