Skip to content

logan-life/Professor_59X

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Professor_59X: UPenn MCIT Twitter Bot

Follow the Professor on Twitter here.

This bot was initially developed during the inaugural hackathon event from the UPenn CIT59X student group by Logan Ayliffe and Abdulla AlBadi AlDhaheri. The MCIT program at UPenn has core courses which use the numbering convention 59(X), so that's why this bot has this name.

This bot was written in python and uses tweepy to interact with the Twitter API and is hosted using Heroku. The initial build was created using this tutorial from Digital Ocean. The Heroku deployment was helped along by this post by Emily Cain.

Current features:

  • The bot can search for a particular hashtag and then interact with returned tweets, e.g. favorite / retweet / follow that user. The bot is currently monitoring #PennEngineering.

  • The bot can tweet a random image from a supplied directory of images. Currently tweeting images from the Penn flickr account - the public fair use directory located here.

  • The bot can retweet any specified user. Currently retweets stuff from @PennEngineers.

Future Improvements:

  • It would be nice for from_image to be able to tweet an image from somewhere other than a local directory, e.g. unsplash.

  • For both from_user and from_hashtag, these could be expanded to include more stuff that is relevant to the MCIT student community.

About

UPenn MCIT Twitter Bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages