Inspiration

We wanted to create a possible solution to online harassment over social media.

What it does

The bot filters all public tweets for certain keywords that indicate harassment. Once the bot detects harassment, it will reply to the offending tweet with a warning.

How we built it

We used Twitter's built in application management along with the Python module Tweepy to remotely control the bot's account. The Tweepy module takes access keys provided by Twitter and remotely run the bot.

Challenges we ran into

The first version of the bot replied to Tweets far too fast, and was suspended by Twitter. We solved this by recreating the bot to lift the suspension and adding code to limit the bot's frequency.

Accomplishments that we're proud of

Getting around the bans by Twitter.

What we learned

We learned that bots are not free to run wild on Twitter.

What's next for Anti-Harassment Twitter Bot

Expanding into Facebook, Instagram, etc and create a website for the software.

Built With

Share this project:
×