I can't follow/unfollow users with the Twitter gem because Twitter could not authenticate me.
I've written the Twitter app credentials in config/config.yml and I've loaded it in config/initializers/app_config.rb:
APP_CONFIG = YAML.load_file(Rails.root.join('config', 'config.yml'))
After I do Twitter.follow(username)
, I get a Twitter::Error::Unauthorized
exception
Did I miss anything?