I'm trying to call a function and for it to return me an object so that I can manipulate it.
I'm doing console.log()
at the end to see whether I'm getting the object but not luck.
var SubjTweet = () => T.get('search/tweets', { q: 'banana since:2011-07-11', count: 1 }, function(err, data, response) {
return data;
});
console.log(SubjTweet());
I'm looking for an object I can manipulate.