Removed dependency on official Twitter API
This commit is contained in:
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user