Skip to content

Generates a gif of word clouds from a specific Twitter user's tweets

License

Notifications You must be signed in to change notification settings

onepan/TweetCloud

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to TweetCloud!

The goal of this project is generate a gif of word clouds from a specific Twitter user's tweets. Currently, 3000 is the max number of tweets that will be fetched from Twitter.

NOTE: This project is in development, so not all features will work or are finished! Feel free to open a PR if you'd like to contribute!

Setup

  1. Create a Twitter app
  2. Add the following keys from your new Twitter app to your environment variables
    • export TWTR_CONS_KEY=<TWITTER_CONSUMER_API_KEY>
    • export TWTR_CONS_SEC=<TWITTER_CONSUMER_API_SECRET_KEY>
    • export TWTR_ACC_KEY=<TWITTER_ACCESS_TOKEN>
    • export TWTR_ACC_SEC=<TWITTER_TOKEN_SECRET>

How to use

python3 app.py <screen_name> <number_of_tweets>

Example

Running python3 app.py nasa 1000 generates:

TweetCloud Demo

Contributors

About

Generates a gif of word clouds from a specific Twitter user's tweets

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%