Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/KevCui/getTweets
:bird: Fetch tweets from a specific user without account login
https://github.com/KevCui/getTweets
bash bash-script tweets tweets-scraper twitter
Last synced: about 2 months ago
JSON representation
:bird: Fetch tweets from a specific user without account login
- Host: GitHub
- URL: https://github.com/KevCui/getTweets
- Owner: KevCui
- License: mit
- Created: 2020-03-11T14:05:46.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-07-08T06:17:30.000Z (over 4 years ago)
- Last Synced: 2024-08-07T09:11:29.354Z (5 months ago)
- Topics: bash, bash-script, tweets, tweets-scraper, twitter
- Language: Shell
- Homepage:
- Size: 9.77 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
getTweets.sh
============getTweets.sh is a quick and simple Bash script, for fetching tweets from a specific user. This script uses twitter guest token, so there is absolute no need to either register official twitter API access or to login twitter account. The output is a json file for the further analysis. Yep, quick & simple.
## Dependency
- [jq](https://stedolan.github.io/jq/)
## How to use
```
Usage:
./getTweets.sh -u [-m ] [-d]Options:
-u Mandatory, set twitter handle
-d Optional, direct output without saving to json file
-m Optional, max tweets number to download
-h | --help Display this help message
```### Example
- Fetch tweets from `kevcui`:
```
~$ ./getTweets.sh -u kevcui
```All downloaded tweets will be stored in a json file, format like: `_.json`