From 42a7cd9a9542bc608a85b8642ede3f2c2a159ed2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=A7=89=20infominer?= Date: Fri, 22 Jan 2021 23:08:59 -0500 Subject: [PATCH] try getting secrets again --- twscraper.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/twscraper.py b/twscraper.py index c6eb0eee..f089a4fb 100644 --- a/twscraper.py +++ b/twscraper.py @@ -174,6 +174,10 @@ print(tweet_ids) from requests_oauthlib import OAuth1Session import json ## OAuth vs Tweepy auth, idk why can't create collection with above tweepy auth +consumer_key = os.environ.get('CONSUMER_KEY') +consumer_secret = os.environ.get('CONSUMER_SECRET') +access_token = os.environ.get('ACCESS_KEY') +access_token_secret = os.environ.get('ACCESS_SECRET') print(consumer_key) print(consumer_secret) print(access_token)