Skip to content

Basic Python twitter bot that posts images from a folder

Notifications You must be signed in to change notification settings

MisterLutz/Twitter-Image-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Twitter-Image-Bot

Basic twitter bot that posts images from a folder

This twitter bot works with the twitter API to conect to and post images randomly selected from a screenshots folder using Python. I ran this from home on a Rasberry pi.

Setup instuctions

  1. Set the image folder you would like to use on line 39 (imagebot("screenshots/"))
  2. In the config.cfg file, enter your twitter api key, secret, oauth token, and oauth token secret.
  3. Set the status you would like to post on line 30
  4. Posted screenshots will be copied to the folder listed on line 36
  5. Images must be under 3MB
  6. It's also sensitive to some unusual ascii symbols

About

Basic Python twitter bot that posts images from a folder

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages