https://github.com/bukinoshita/last-tweet
Get Twitter user's last tweet
https://github.com/bukinoshita/last-tweet
last promise tweet twitter
Last synced: 27 days ago
JSON representation
Get Twitter user's last tweet
- Host: GitHub
- URL: https://github.com/bukinoshita/last-tweet
- Owner: bukinoshita
- License: mit
- Created: 2017-10-16T20:32:32.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:50:34.000Z (almost 3 years ago)
- Last Synced: 2025-08-09T09:43:45.422Z (3 months ago)
- Topics: last, promise, tweet, twitter
- Language: JavaScript
- Homepage:
- Size: 553 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# last-tweet [](https://travis-ci.org/bukinoshita/last-tweet)
> Get Twitter user's last tweet
#### No Twitter API required!
## Install
```bash
$ yarn add last-tweet
```
## Usage
```js
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](https://bukinoshita.io)