Skip to content
/ tau Public

🐦 Template for creating a tweetbot with AWS Lambda

License

Notifications You must be signed in to change notification settings

tdhopper/tau

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

By Tim Hopper: tdhopper.com

alt text alt text

Tau: auto-tweet with AWS Lambda

Steps for setting up auto-tweet account (using OS X or Linux):

  1. Create Twitter app and get consumer and access keys.
  2. Fork this repository and clone to local.
  3. Run make credentials_file to create twitter_credentials.json.
  4. Add consumer and access keys to twitter_credentials.json.
  5. Modify tweet_content function in tweet.py to generate tweet string (140 characters or less).
  6. Add PyPI dependencies to requirements.txt.
  7. Run make prepare to generate lambda_bundle.zip.
  8. In the AWS console, create a Python 2.7 function with tweet.send_tweet as the handler. Upload lambda_bundle.zip to use as the code. Add a "Scheduled Event" event source.
  9. Profit.

About

🐦 Template for creating a tweetbot with AWS Lambda

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published