Because of the random ID being appended to the message, the message will be extended by 4 to 11 characters. Make sure to accomodate for this in your message.
- Rename creds_clean.py to creds.py
- Open creds.py in a text editor.
- Enter your API credentials into the first 4 lines
- Set your message and interval on the 5th and 6th lines.
- Install Python 3
- Run main.py, if pip downloads requirements, let it finish and then run the script again.
- Profit?
consumer_key = 'blabla'
consumer_secret = 'blablabla'
access_token = 'bla-blabla'
access_token_secret = 'blablalba'
messages = ['TweetBot', 'Test', 'Fish', 'Blub']
delay = '15'
photo = {"TweetBot":"/Users/IOIIIO/Desktop/Icon.jpg", "Fish":"D:\\Images\\fish.png"}
To send images with a tweet, add the message to the key entry in the photo list (before the :), and add the path to the image into the value entry (after the :).
Windows paths must use double backslashes to prevent formatting errors in Python