Skip to content

Latest commit

 

History

History
43 lines (35 loc) · 1.74 KB

README.md

File metadata and controls

43 lines (35 loc) · 1.74 KB

facebook_comment_automation

Your friend just offered to do something silly for commenting in thousands in their post? look no further! You are in the right repo xD

overview

It's a simple selenium automation implementation. It logs in your account and then goes to your friends timeline and finds the latest post and starts commenting.

Prerequisites

  • You will need have Python3
  • Setup virtualenv and install selenium
your_pc$ virtualenv -p /usr/bin/python3 venv
your_pc$ source venv/bin/activate
(venv)your_pc$ pip install -r requirements.txt
  • Have firefox installed
  • I used geckodriver for linux. If you run windows, install geckodriver for windows.
  • Rename env_sample.json to env.json and configure it with your username,password and target's username

Running

You will need to add PATH for geckodriver

(venv)your_pc$ export PATH=$PATH:.
(venv)your_pc$ python main.py

Process Steps of the bot

  • goes to facebook.com
  • logs in to your account
  • goes to targets's timeline
  • selects latest post
  • starts commenting random letters

Tip

You can use a residential proxy to avoid being flagged as a bot and get your IP blocked. I prefer NodeMaven . You can use PLUS2 to add 2GB when purchasing a trial or any package. Unlike other providers, NodeMaven uses an advanced filtering algorithm to screen IPs in real-time before assigning them, ensuring you get high quality addresses 95% of the time. With NodeMaven’s hybrid proxy technology, they are able to provide us with longer session times and IPs last up to 24 hours — many times the industry average.