Removed dependency on official Twitter API

This commit is contained in:
dylanpdx
2023-08-04 21:04:05 +01:00
parent e230043e85
commit 0cf2b57700
5 changed files with 5 additions and 16 deletions

View File

@ -13,13 +13,7 @@ if ('RUNNING_SERVERLESS' in os.environ and os.environ['RUNNING_SERVERLESS'] == '
"url": os.getenv("VXTWITTER_URL","https://vxtwitter.com"),
"combination_method": os.getenv("VXTWITTER_COMBINATION_METHOD","local"), # can either be 'local' or a URL to a server handling requests in the same format
"gifConvertAPI":os.getenv("VXTWITTER_GIF_CONVERT_API",""),
"workaroundTokens":os.getenv("VXTWITTER_WORKAROUND_TOKENS",None),
"workaroundKeys":{
"consumerKey":os.getenv("VXTWITTER_WORKAROUND_CONSUMER_KEY"),
"consumerSecret":os.getenv("VXTWITTER_WORKAROUND_CONSUMER_SECRET"),
"accessToken":os.getenv("VXTWITTER_WORKAROUND_TOKEN"),
"accessTokenSecret":os.getenv("VXTWITTER_WORKAROUND_TOKEN_SECRET")
}
"workaroundTokens":os.getenv("VXTWITTER_WORKAROUND_TOKENS",None)
}
}
else:
@ -37,7 +31,7 @@ else:
"url": "https://vxtwitter.com",
"combination_method": "local", # can either be 'local' or a URL to a server handling requests in the same format
"gifConvertAPI":"",
"workaroundKeys":{"consumerKey":"","consumerSecret":"","accessToken":"","accessTokenSecret":""}
"workaroundTokens":None
}
}