Permalink
Browse files

Añado ntwitter y scaffold para las credenciales

  • Loading branch information...
1 parent 0b7491d commit a31275a39ddd9b81e746c0cb73c38fceed4eb15a Ricardo Lanziano committed Jan 24, 2012
Showing with 11 additions and 0 deletions.
  1. +10 −0 app.js
  2. +1 −0 package.json
View
10 app.js
@@ -6,10 +6,20 @@
var express = require('express'),
mongoose = require('mongoose'),
io = require('socket.io'),
+ ntwitter = require('ntwitter'),
routes = require('./routes')
var app = module.exports = express.createServer();
+// Configure credentials
+
+var twit = new ntwitter({
+ consumer_key: '',
+ consumer_secret: '',
+ access_token_key: '',
+ access_token_secret: ''
+});
+
// Configuration
app.configure(function(){
View
@@ -8,5 +8,6 @@
, "jade": "0.20.x"
, "socket.io": "0.8.x"
, "mongoose": "2.4.x"
+ , "ntwitter": "0.2.x"
}
}

0 comments on commit a31275a

Please sign in to comment.