File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 11class 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
You can’t perform that action at this time.
0 commit comments