If you need to ask questions you can add an issue or try chat by clicking the badge below
https://apps.twitter.com
Don't forget to get your twitter creds atadd them to
tweetys/config/config
tweetyy/config/dev.exs
Examples
tweetys
is the app from the first part
tweetyy
is the phoenix app
Important commands
In both apps
mix deps.get
download dependencies
iex -S mix
open up project with REPL
in phoenix app
mix phx.get.channel TweetStream
creates a channel
mix phx.server
starts the phoenix app
iex -S mix phx.server
start phoenix server with REPL
mix ecto.create
creates a postgres db if your db is set up correctly
Exercises
-
Do sentiment analysis on the incoming tweet stream. You could also display it in the Phoenix app
-
Add a feature or two to the Phoenix app
Resources
Sentiment Analysis
- Sentiment analysis https://github.com/dantame/sentient/
- More robust sentiment analysis https://github.com/cblavier/twitter-feelings