Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bukinoshita/last-tweet
Get Twitter user's last tweet
https://github.com/bukinoshita/last-tweet
last promise tweet twitter
Last synced: 3 months 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T21:50:34.000Z (about 2 years ago)
- Last Synced: 2024-10-10T16:07:18.730Z (3 months ago)
- Topics: last, promise, tweet, twitter
- Language: JavaScript
- Homepage:
- Size: 553 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 15
-
Metadata Files:
- Readme: readme.md
- License: license
Awesome Lists containing this project
README
# last-tweet [![Build Status](https://travis-ci.org/bukinoshita/last-tweet.svg?branch=master)](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`
RequiredUser's username on Twitter
## License
MIT © [Bu Kinoshita](https://bukinoshita.io)