lib/botolo/api/tweet.rb in botolo-0.50.0 vs lib/botolo/api/tweet.rb in botolo-0.50.1
- old
+ new
@@ -14,9 +14,10 @@
@twitters = []
config['accounts'].each do |account|
a=Hash.new
a[:name] = account['name']
begin
+ $logger.log "authenticating #{a[:name]}"
a[:client] = Twitter::REST::Client.new do |config|
config.consumer_key = account['consumer_key']
config.consumer_secret = account['consumer_secret']
config.access_token = account['access_token'] unless account['access_token'].nil?