⭐ Star this repository if you find it useful!
Facebook Auto Reporter is a Python-based automation project built using Selenium and pystyle.
It demonstrates how to:
- Automate web browser actions with Selenium
- Perform login flows securely
- Handle dynamic web elements using
WebDriverWait - Use colored CLI output for better UX
✅ Automated login flow using Selenium
✅ Repeated report simulation with randomized delays
✅ Colorful console interface with pystyle
✅ Exception handling for robust execution
✅ Adjustable report count and timing via configuration variables
Before running, make sure you have:
- Python 3.8+
- Google Chrome (latest)
- ChromeDriver (same version as Chrome)
You can install all dependencies with:
pip install -r requirements.txtgit clone https://github.com/xlrrr1111/facebook-auto-reporter.git
cd facebook-auto-reporterpython reporter.py- Enter your Facebook email or phone number
- Enter your password
- Paste the profile URL you want to test
- Enter how many "reports" to simulate
Facebook Auto Reporter
Logging into Facebook...
[✓] Login successful.
[+] Starting report #1 for: https://facebook.com/exampleuser
[✓] Report submitted.
facebook-auto-reporter/
│
├── reporter.py # Main script
├── README.md # Documentation
└── requirements.txt # Dependencies
| Function | Description |
|---|---|
init_driver() |
Initializes Selenium WebDriver with Chrome options |
login_facebook() |
Logs into Facebook using credentials |
report_account() |
Simulates a reporting flow on a given profile |
banner() |
Displays styled ASCII art header |
main() |
Orchestrates the script |
Contributions are welcome! If you’d like to improve the structure, update the XPaths, or make the automation framework more modular:
- Fork the repository
- Create your feature branch (
git checkout -b feature/your-feature) - Commit your changes (
git commit -m 'Add new feature') - Push to your branch (
git push origin feature/your-feature) - Open a Pull Request 🎉
This project is created for educational and automation learning purposes only. It demonstrates concepts such as browser automation, Selenium waits, and Python scripting practices.
Using automated scripts to report users, spam, or perform actions on social media platforms violates their Terms of Service and may result in account suspension or legal consequences.
The author assumes no responsibility for any misuse of this code.
Please use this project ethically:
- Do not use it to harass, spam, or harm others.
This project is licensed under the MIT License. Refer to the LICENSE file for more information.