Updated twitter api example.

- top 10 instead of top 50
- node.js term instead of hackathon
- using media-list instead of ul.list-unstyled
This commit is contained in:
Sahat Yalkabov
2014-05-29 16:44:13 -04:00
parent 51714b7f86
commit dcff72cb82
2 changed files with 11 additions and 14 deletions

View File

@@ -253,7 +253,7 @@ exports.getTwitter = function(req, res, next) {
access_token: token.accessToken,
access_token_secret: token.tokenSecret
});
T.get('search/tweets', { q: 'hackathon since:2013-01-01', geocode: '40.71448,-74.00598,5mi', count: 50 }, function(err, reply) {
T.get('search/tweets', { q: 'nodejs since:2013-01-01', geocode: '40.71448,-74.00598,5mi', count: 10 }, function(err, reply) {
if (err) return next(err);
res.render('api/twitter', {
title: 'Twitter API',