Skip to content

Commit cff62ec

Browse files
committed
Update TwitterService to remove third API config.
1 parent 205066b commit cff62ec

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

app/services/twitter_service.rb

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
class TwitterService
22
def initialize
3+
4+
# To configure your API client,
5+
# you need to create a simple twitter application on the link https://apps.twitter.com
6+
37
@client = Twitter::REST::Client.new do |config|
4-
config.consumer_key = 'ZP4LQvAtV7DsHfFQhLyabdYqG'
5-
config.consumer_secret = '9tQUWEqB7c3eQIksWZclaAqC44L9OpFwfhKP8AK4NgZpgWL2KM'
6-
config.access_token = '321696384-snChjxRMU3KE6BeyvlGhHCmUJkyNnSVjgpFyUdsJ'
7-
config.access_token_secret = '4VLiyN6nKAtrtpZmlzhLt5ooTjGNoJIsE4H8ThIqgJKEc'
8+
config.consumer_key = 'YOUR CONSUMER KEY HERE'
9+
config.consumer_secret = 'YOUR CONSUMER SECRET HERE'
10+
config.access_token = 'YOUR ACCESS TOKEN HERE'
11+
config.access_token_secret = 'YOUR ACESS TOKEN SECRET HERE'
812
end
913
end
1014

0 commit comments

Comments
 (0)