TweetPlots.jl
Share your idea on Twitter using Dash.jl
How to use:
Create an application on the Twitter's Developer Platform.
- Create an application on the Twitter's Developer Platform: https://developer.twitter.com/en
- Get CONSUMER_KEY(a.k.a API_KEY), CONSUMER_SECRET (a.k.a API_KEY_SECRET), ACCESS_TOKEN and ACCESS_TOKEN_SECRET from your dashboard of Twitter's Developer Platform.
- Store them above in
.env
file so that you can access these secrets fromENV
.
using DotEnv; DotEnv.config();
CONSUMER_KEY = ENV["CONSUMER_KEY"]
CONSUMER_SECRET = ENV["CONSUMER_SECRET"]
ACCESS_TOKEN = ENV["ACCESS_TOKEN"]
ACCESS_TOKEN_SECRET = ENV["ACCESS_TOKEN_SECRET"]
tweepy
Install Install tweepy
via:
$ pip3 install tweepy
Run this script
$ julia --project=@. -e 'using Pkg; Pkg.instantiate()'
$ julia --project=@. app.jl
You may access the webserver from the browser using http://127.0.0.1:8050. Then you'll see something like below:
I hope you like it.