Created
December 27, 2017 14:06
-
-
Save vanakenm/d88216255dd889fc7ea7496ff2ed0ba8 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
client = Twitter::REST::Client.new do |config| | |
config.consumer_key = ENV('TWITTER_CONSUMER_KEY') | |
config.consumer_secret = ENV('TWITTER_CONSUMER_SECRET') | |
config.access_token = ENV('TWITTER_ACCESS_TOKEN') | |
config.access_token_secret = ENV('TWITTER_ACCESS_TOKEN_SECRET') | |
end | |
tweets = client.get_all_tweets('effinbirds') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment