templates/project/jobs/twitter.rb in dashing-1.3.3 vs templates/project/jobs/twitter.rb in dashing-1.3.4
- old
+ new
@@ -4,11 +4,11 @@
#### Get your twitter keys & secrets:
#### https://dev.twitter.com/docs/auth/tokens-devtwittercom
twitter = Twitter::REST::Client.new do |config|
config.consumer_key = 'YOUR_CONSUMER_KEY'
config.consumer_secret = 'YOUR_CONSUMER_SECRET'
- config.oauth_token = 'YOUR_OAUTH_TOKEN'
- config.oauth_token_secret = 'YOUR_OAUTH_SECRET'
+ config.access_token = 'YOUR_OAUTH_TOKEN'
+ config.access_token_secret = 'YOUR_OAUTH_SECRET'
end
search_term = URI::encode('#todayilearned')
SCHEDULER.every '10m', :first_in => 0 do |job|
\ No newline at end of file