Skip to content

Commit

Permalink
update twint API
Browse files Browse the repository at this point in the history
  • Loading branch information
hadisfr committed Dec 22, 2020
1 parent b2b4667 commit a289ad7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ a series of scripts to generate word cloud from social media posts
* (optional) create a python3 virtual environment
* install requirements mentioned in [_requirements.txt_](requirements.txt) and [twint](https://github.com/twintproject/twint)
* export a chat to a place such as _tweets.json_ with ```twint -u <username> -o tweets.json --json --filter-retweets``` or ```twint -u <username> -o tweets.json --json -cq "from:<username> \-filter:replies"```
* you may also use ```--profile-full``` flag.
* you may also use ```--timeline``` flag.
> Twitter can shadow-ban accounts, which means that their tweets will not be available via search. To solve this, pass --profile-full if you are using Twint via CLI or, if are using Twint as module, add config.Profile_full = True. Please note that this process will be quite slow [[+](https://github.com/twintproject/twint#faq)].
* run script as: `python3 -m twtr tweets.json res.png` to generate _res.png_

0 comments on commit a289ad7

Please sign in to comment.