Closed rickwaugh1 closed 11 years ago
I think I see, I need to provide the function as a parameter on the call? Your documentation needs some work, but I like the module.
Hi @rickwaugh1. It's always a good idea to read the tests to see how the code works, but I've also added some extra documentation to show the usage.
Line 106 of Twitter.js error(err, response, body);
Getting an error that says it's not defined:
TypeError: undefined is not a function at /Users/rickwaugh/Documents/svn/ESP/node_server/trunk/esp/node_modules/twitter-js-client/lib/Twitter.js:106:13 at passBackControl (/Users/rickwaugh/Documents/svn/ESP/node_server/trunk/esp/node_modules/twitter-js-client/node_modules/oauth/lib/oauth.js:374:13) at IncomingMessage. (/Users/rickwaugh/Documents/svn/ESP/node_server/trunk/esp/node_modules/twitter-js-client/node_modules/oauth/lib/oauth.js:386:9)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:883:14
at process._tickCallback (node.js:415:13)