![]() |
GeometrizeTwitterBot
1.0
Python Twitter bot for geometrizing images into geometric primitives
|
Module containing secret Twitter API keys and bot configuration info. More...
Functions | |
def | validate_credentials () |
Checks whether credentials have been filled out in the bot configuration file. More... | |
Variables | |
string | OAUTH_CONSUMER_KEY = "YOUR_VALUE_HERE" |
string | OAUTH_CONSUMER_SECRET = "YOUR_VALUE_HERE" |
string | OAUTH_ACCESS_TOKEN = "YOUR_VALUE_HERE" |
string | OAUTH_ACCESS_SECRET = "YOUR_VALUE_HERE" |
string | UNCONFIGURED_CREDENTIAL_VALUE = "YOUR_VALUE_HERE" |
Secret Twitter app keys. More... | |
string | TWITTER_BOT_USERNAME = "@Geometrizer" |
Twitter username of the account that will run the Geometrize bot. More... | |
list | TWITTER_BOT_WATCH_ACCOUNTS = ['4730923097', '809439447796355072'] |
Twitter user ids of accounts that the Geometrize bot will watch for new tweets. More... | |
Module containing secret Twitter API keys and bot configuration info.
def config.validate_credentials | ( | ) |
Checks whether credentials have been filled out in the bot configuration file.
string config.OAUTH_ACCESS_SECRET = "YOUR_VALUE_HERE" |
string config.OAUTH_ACCESS_TOKEN = "YOUR_VALUE_HERE" |
string config.OAUTH_CONSUMER_KEY = "YOUR_VALUE_HERE" |
string config.OAUTH_CONSUMER_SECRET = "YOUR_VALUE_HERE" |
string config.TWITTER_BOT_USERNAME = "@Geometrizer" |
Twitter username of the account that will run the Geometrize bot.
list config.TWITTER_BOT_WATCH_ACCOUNTS = ['4730923097', '809439447796355072'] |
Twitter user ids of accounts that the Geometrize bot will watch for new tweets.
When a tweet contains images, Geometrize will geometrize the images and tweet them out. Note you can get look up account ids easily using various sites online "@NYPLpostcards", "@UkiuoeBot"
string config.UNCONFIGURED_CREDENTIAL_VALUE = "YOUR_VALUE_HERE" |
Secret Twitter app keys.
Enter your own here. Never make these public.
Used to error out if credentials aren't configured