summaryrefslogtreecommitdiff
path: root/templates/project/jobs/twitter.rb
diff options
context:
space:
mode:
Diffstat (limited to 'templates/project/jobs/twitter.rb')
-rw-r--r--templates/project/jobs/twitter.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/project/jobs/twitter.rb b/templates/project/jobs/twitter.rb
index 26228bc..7b2bd6f 100644
--- a/templates/project/jobs/twitter.rb
+++ b/templates/project/jobs/twitter.rb
@@ -6,8 +6,8 @@ require 'twitter'
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')