Geolocation parameter on tweets

This commit is contained in:
Sahat Yalkabov
2013-12-10 02:58:03 -05:00
parent 96b45bb82e
commit 06b4c3bcd6
2 changed files with 8 additions and 7 deletions

View File

@ -255,7 +255,7 @@ exports.getTwitter = function(req, res) {
});
T.get('search/tweets', { q: 'hackathon since:2013-01-01', count: 50 }, function(err, reply) {
T.get('search/tweets', { q: 'hackathon since:2013-01-01', geocode: '40.71448,-74.00598,5mi', count: 50 }, function(err, reply) {
res.render('api/twitter', {
title: 'Twitter API',
user: req.user,