Skip to content

mouraaa/Raise-Awareness-Bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Goal

If i'm going to use one of the biggest platforms on the planet, might as well go above and beyond. The aim of this project is to raise awareness with critical issues that we as humanity are currently facing. The first step in fixing a problem is to acknowledge that there is one, and this is where the project steps in.

Anytime you tweet at the person (whose keys you entered in the code) using #RaiseAwareness, a random article (from the list) describing an issue will be replied back to you. This is just an introductory article, so I urge you to continue researching the topic if it interests you!

Try it yourself!

I set up an account by the name of @MouraasBot. Simply tweet at me using the #RaiseAwareness and see the magic happen. (Please allow a couple of moments as the script is being run on the cloud and I have a sleep method attatched.)

Prerequisites

pip install tweepy

twitter developer account

Secret Keys

To use this script, you will need four different keys, all provided by twitter when you register your account as a developer. You can apply for a developer account here: https://developer.twitter.com/en/apply-for-access

Note that if you refresh those keys, you will have to update your code's keys accordingly.

Notice

If you want to automatically run the script, even while your computer/terminal is closed, you will have to place all the files on a python cloud service such as pythonanywhere, or even on your own server.

About

Raising awareness by using twitter's API to automatically tweet an article when @'d with the hashtag #RaiseAwareness

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages