/last-tweet

Get Twitter user's last tweet

Primary LanguageJavaScriptMIT LicenseMIT

last-tweet Build Status

Get Twitter user's last tweet

No Twitter API required!

Install

$ yarn add last-tweet

Usage

const lastTweet = require('last-tweet')

await lastTweet('bukinoshita')
/*
{
  user: 'bukinoshita',
  tweet: 'awesome',
  time: '9h'
}
*/

API

lastTweet(user)

user

Type: string
Required

User's username on Twitter

License

MIT © Bu Kinoshita