Skip to content
/ Quotebot Public
forked from narenaryan/Quotebot

A twitter bot that posts Famous quotes every day on Twitter without intervention of a human operator.

Notifications You must be signed in to change notification settings

a1156/Quotebot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quotebot

A twitter bot that posts Famous quotes every day on Twitter without intervention of a human operator. The main difference between this bot and others is data posted is purely fetched by Spiders and stored in MongoDB.

Twitter allows only 140 characters length of text,but quotes can be much longer.Inorder to overcome that issue ,if quote is converted into image it can be uploaded as a media file and serves the purpose.

So this project uses an API for converting text to Image,and then uploads it to Twitter.

Quotes will have the subject according to day in a month,means every 2nd of month Love Quotes will be posted, 3rd Inspiration quotes,etc.Daily Maximum 120 Quotes will be posted at maximum.For every 5 minutes,bot checks the connection automatically when system is active and posts the Quote image.

Two APIs Twitter API,Img4free API are used to achieve the task.

tweetit.py creates a class for encapsulating user details. beforeact.py do all housekeeping task and sets every thing ready for Quotebot to run. dayscats.pickle consists of mapping of month day -> category.

postlog.log stores all logs of posted quotes and also network statistics

About

A twitter bot that posts Famous quotes every day on Twitter without intervention of a human operator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%