- Twitter login
- Sync your follower (5000 followers per 15min)
- Decide ranking storategy
- Send DMs (1000 per day)
- This app also provides a link for your follower to submit email address
- Export follower data with provided emails
Requirement: Ruby (tested on Ruby 2.7.1) and postgres. Also needs AWS account if you want to test export feature
Create Twitter app from https://developer.twitter.com/en/apps
- Enable signin with twitter
- callback URL is
${domain}/auth/twitter/callback
. Localhost won't work - if you want to run locally you can use ngrok - Under permission, set DM permission
Create .env file with appropriate secrets - see .env.sample
bundle install
rake db:migrate
rails s
https://devcenter.heroku.com/articles/getting-started-with-rails6