Connects to a twitter account and sends a pre-defined message to each new follower.
- Need twitter and sqlite3 modules
- Application need authorization to connect user's twitter account. See twitter help.
- Fill up 'config.yml' with twitter authorization token
- At the first start, application send message to each user's followers.
-
Populate database with new followers
populate
-
Send welcome message to each new follower
send_welcome_msg
-
Each 10 scd, populate database with new follower and send them a welcome message
live
#!/usr/bin/env ruby
require_relative 'autowelcome'
tw = AutoWelcome.new
tw.populate
Thibault Couraud