Get latest tweets
npm install --save get-tweets
getTweets(tokens, username, sinceId)
Return a promise that resolves to tweets.
id_str of tweet since which you want to get latest tweets. Result array will not contain this tweet. If you want it to contain that tweet use bignum-dec:
getMentions(tokens, bignumDec(tweet.id_str), cb);. See tests for details.
Return results with an ID greater than (that is, more recent than) the specified ID. There are limits to the number of Tweets which can be accessed through the API. If the limit of Tweets has occured since the
since_idwill be forced to the oldest ID available.
— Twitter API
MIT © Vladimir Starkov