diff --git a/requirements.txt b/requirements.txt index db0582c..c27579f 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,8 @@ filetype==1.2.0 oauth2==1.9.0.post1 pyrogram==2.0.106 -git+https://github.com/tgbot-collection/python-twitter requests==2.31.0 tgbot-ping==1.0.7 -tornado==6.3.2 +tornado==6.3.3 tgcrypto==1.2.5 tweepy==4.14.0 diff --git a/twauth-web/twauth.py b/twauth-web/twauth.py index 7860f0b..645ec60 100644 --- a/twauth-web/twauth.py +++ b/twauth-web/twauth.py @@ -23,8 +23,8 @@ authorize_url = "https://api.twitter.com/oauth/authorize" show_user_url = "https://api.twitter.com/2/users/me" -APP_CONSUMER_KEY = os.environ.get("CONSUMER_KEY") or "1" -APP_CONSUMER_SECRET = os.environ.get("CONSUMER_SECRET") or "2" +APP_CONSUMER_KEY = os.environ.get("CONSUMER_KEY") or "dKyKPkkkKMLF6uheDYhBZpuu9" +APP_CONSUMER_SECRET = os.environ.get("CONSUMER_SECRET") or "h4y45kNmEhhi81iMkABkePH3g7nPwDAxmBytRFNLqjfInkJCwd" callback_url = os.environ.get("CALLBACK_URL") or "http://127.0.0.1:8888/callback" oauth_store = {}