Giter Club home page Giter Club logo

facebook-marketplace-bot's Introduction

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.

facebook-marketplace-bot's People

Contributors

georgikeranov avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.