This bot post automatically for you in every each of your Facebook groups, allowing you to select witch group you want to post it or witch you won't.
You can download it here: DOWNLOAD APP HERE
Tip
You have to extract it to let the BOT work correctly
This script can run in the background or in parallel. That's the difference between Selenium and Pyautogui, which was the first thing I used on my first Bot project.
For the moment, only can be used to text, links, etc. posts, no for multimedia stuff.
Note
English version now available! Since v.2.1.0.
- Exporting to an executable (.exe) and running it
- Accessing the executable project
- Technical details
- Future development
You have to open the project folder in your VSC, not only the file project.
In this case:
- ../Facebook BOT/ES/
- ../Facebook BOT/EN/
Install cx-Freeze in your terminal:
pip install pyinstaller
Build the complete executable folder
pyinstaller py_file_name.py
Example: pyinstaller robot_fb.py
- Enter into "dist/py_file_name" folder
- Click on py_file_name.exe file
- Enjoy!
- Chrome Driver: Go to https://chromedriver.chromium.org/downloads to download the correct ChromeDriver version, equivalent to your Google Chrome version.
- Google Chrome
- Selenium: A tool for automating web browsers. It provides a way for developers to write scripts in various programming languages to automate interactions with web applications. I personally used Python.
- webdriver_manager: To simplify management of binary drivers for different browsers. To not to repeat all these steps (download the chromedriver binary...unzip it somewhere on your PC...set the path to this driver) again and again every time a new version of the driver is released.
- re: Module in Python for regular expressions. It provides a set of functions that allows us to search a string for a match or replace matches with other strings. I use this module to find all the group links.
- time: A time module in Python that provides various time-related functions. I used that to have some time between some process to pause the script execution to production or for me as a developer to make the tests. Ex:
time.sleep(5)
- Get all your group links.
- Show all the groups with their name and image, and select in what group you want to post or what you don't.
- Maybe improve the way you can write the post.
- Post images, videos, and more. Not only text.