Inspiration

A youtube video by Dev Ed (https://www.youtube.com/watch?v=7ovFudqFB0Q)

What it does

Likes and retweets Twitter posts (tweets) based on a keyword search

How I built it

Using GeckoDriver to work with Mozilla Firefox and Selenium to write scripts

Challenges I ran into

The Twitter DOM tree changed in the last year, using more Javascript to create it, so it was a challenge to find the appropriate divs that correspond to like and retweet buttons and interact with them

Accomplishments that I'm proud of

The correct like and retweet buttons are selected every time, so depending on the number of iterations and screen refreshing we select to do, all the tweets will be selected

What I learned

How to scrape web pages and interact with the DOM tree

What's next for Twitter Bot

Comments input, profile follows and make it work in Chrome too

Built With

Share this project:

Updates