Skip to content

Commit

Permalink
fixing ig stream
Browse files Browse the repository at this point in the history
  • Loading branch information
will-horning committed Sep 3, 2014
1 parent 5daac14 commit 61a469c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ setInterval(function(){trains.moveEnrouteTrains(io);}, config.metro.ANIM_INTERVA
setInterval(trains.updateTrains, config.metro.PREDICTION_INTERVAL);

MongoClient.connect(config.mongo.MONGOHQ_URL, function(err, db){
var twitter_stream = require('./twitter_stream.js')(io, db);
// var twitter_stream = require('./twitter_stream.js')(io, db);
var instagram_stream = require('./instagram_stream')(app, io, db);
});

Expand Down
2 changes: 1 addition & 1 deletion instagram_stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ module.exports = function(app, io, db){
callback_url: 'http://dcmap.herokuapp.com/instagram_callback'
};

request({url: url, qs: params}, function(err, res, body){
request.post({url: url, qs: params}, function(err, res, body){
console.log(body);
if(err) throw err;
});
Expand Down

0 comments on commit 61a469c

Please sign in to comment.