Open timforgach opened 8 years ago
@timforgach i've added the credentials file, but the deps are outdated. ntwitter isn't maintained anymore, better to look for another alternative, maybe mtwitter.
Thanks for that, I got a little further this time. Getting an error:
info - socket.io started debug - served static content /socket.io.js debug - client authorized info - handshake authorized JFN5ZUPzp8SUIfDDnWwc debug - setting request GET /socket.io/1/websocket/JFN5ZUPzp8SUIfDDnWwc debug - set heartbeat interval for client JFN5ZUPzp8SUIfDDnWwc debug - client authorized for debug - websocket writing 1:: SOCKET CONNECTED
events.js:146 throw err; ^
Error: Uncaught, unspecified "error" event. (http)
at EventEmitter.emit (events.js:144:17)
at ClientRequest.
Also tried to use twitter instead and ran in to another issue:
debug - served static content /socket.io.js debug - client authorized info - handshake authorized z5yIhcrScwHkqkzMnquG debug - setting request GET /socket.io/1/websocket/z5yIhcrScwHkqkzMnquG debug - set heartbeat interval for client z5yIhcrScwHkqkzMnquG debug - client authorized for debug - websocket writing 1:: SOCKET CONNECTED
/Library/WebServer/Documents/node_tests/twitter-hashtag-monitor/app.js:25 t.stream( ^
TypeError: t.stream is not a function
at SocketNamespace.
@timforgach you can try out the updates i did for this repo. i tried it on my local and everything works now.
What does the credentials.js look like? What creds. need to be there?
Error: Cannot find module './credentials.js' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:286:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (/Library/WebServer/Documents/node_tests/twitter-hashtag-monitor/app.js:2:19)
at Module._compile (module.js:434:26)
at Object.Module._extensions..js (module.js:452:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Function.Module.runMain (module.js:475:10)