Skip to content

Facebook marketplace bot that automatically removes and uploads listings from CSV Files. This way listings are seen by more people and that leads to selling them faster

License

Notifications You must be signed in to change notification settings

NikoTumi/facebook-marketplace-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Marketplace Bot

Facebook marketplace bot that automatically removes and then uploads listings from CSV Files. You can define all of the information about the items and vehicles that will be posted automatically so you will save time removing and publishing them every single time. We are doing this to show the listings on the top of the marketplace or groups in order to be seen by more people and that leads to selling the items or vehicles faster.

Table of Contents

Technologies Used

  • Python
  • Selenium
  • Pickle

Functionalities

  • You can add multiple items or vehicles in the csv files that are in folder csvs. Note that for now the program only works with listing type Item or Vehicle
  • Added items or vehicles in csv files are first checked if they exist by the title. The existing items or vehicles are first being removed and then they are published again.
  • The item or vehicle can also be posted to multiple groups that you can define in the csv files

Installation

  1. You will need to have Python and pip installed (on Mac they are already installed)
  2. You will need to install the following packages with pip:
    • Mac commands:
      pip3 install selenium
      pip3 install webdriver-manager
      
    • Linux commands:
      pip install selenium
      pip install pickle-mixin
      pip install webdriver-manager
      
    • Windows commands:
      python -m pip install selenium
      python -m pip install pickle-mixin
      python -m pip install webdriver-manager
      
  3. Install the Google Chrome browser if you don't have it already - https://www.google.com/chrome/.

How to Use

  1. Open folder where this project is saved on your local machine
  2. Open the csvs folder
  3. Add items or vehicles in the items.csv and vehicles.csv files. You can open these files with programs like Microsoft Excel, LibreOffice Calc, etc
  4. Please note these things for the csv columns:
    • Photos Folder column you will have to define only the folder path for the photos like this:
      • Windows C:\Pictures
      • Linux/Mac /Users/myuser/Pictures
    • Photos Names column should only have the names of photos separated with this symbol ; like this Photo 1.JPG; Photo 2.png; Photo3.jpg
    • Marketplace fields that you have to select an option like Category, Condition, Vehicle Type, Fuel Type. You have to type the exact name of the option that you want to choose.
    • Groups column can have multiple groups and you will have to type their exact name and separate them by this symbol ;. Example - Group name 1; Group name 2; Group name
  5. Open terminal inside the main project folder
  6. Run main.py with this command:
    • Windows / Linux
      python main.py
      
    • Mac
      python3 main.py
      
  7. The first time that you use the program, you will have to log in manually in the browser that have opened. After that the program will log in you automatically using the cookies from the first log in.

About

Facebook marketplace bot that automatically removes and uploads listings from CSV Files. This way listings are seen by more people and that leads to selling them faster

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%