Giter Club home page Giter Club logo

facebook-messaging-automation's Introduction

Facebook Automated Messaging Tool

I have created a Facebook Automated Messaging Tool using Python to send a private message to the profile links you provide!

Installation

To install and run this project,

You can download the zip file or Clone the Project Repository using Git with the below command:

git clone https://github.com/DhruvAthaide/Facebook-Messaging-Automation.git

Once, you have installed the Repository then you can cd into the directory and pip install the requirements needed to run the tool:

cd Facebook-Messaging-Automation
pip install -r requirements.txt

Then, you need to create a CSV File and name it:

Name: profile_links.csv

Then, you need to set the following column name in the Excel File and paste the facebook profile's link you want to message in this column:

Column 1: Profile Links
Column 2: Status

Then, in the 'Facebook.py' file on Line 13 & 14 Enter your Username/Email ID and Password in between the Quotes for the String:

username = "Enter Your Username/Email"
password = "Enter Your Password"

Then, Enter the path to your profile_links.csv file on Line 17 in the Code:

file_path = "Enter the path to your Profile_links.csv File"

Once the execution is done, there will be a new CSV File called 'profile_links_updated.csv' and in that file there will be a column next to the profile links and it will tell the status of whether it has messaged that particular profile or not.

Then, Enter the path to your profile_links_updated.csv file on Line 62 in the Code:

updated_file_path = "Enter the path to your Profile_links_updated.csv"

Then, customize your messages which you want to send to the facebook profile's on Line 49-54 and you can add multiple messages which you want to send and the script will randomize the messages sent to each user:

messages = [
    "Message 1",
    "Message 2",
    "Message 3",
    # Add more messages as needed
]

Then, you can simply run the python file and not touch anything and it will execute the message sending to the facebook profile's provided in the CSV File.

Keep in mind, the scipt will randomly select any message from the 'messages' array to send to each user profile.

Authors

Languages & Tools Used:

python selenium

facebook-messaging-automation's People

Contributors

dhruvathaide avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

facebook-messaging-automation's Issues

got multiple values for argument 'options'

Hi is this still work for you ? I got this error:

Traceback (most recent call last):
  File "C:\Users\PC-USER\Desktop\Facebook-Messaging-Automation-main\Facebook.py", line 28, in <module>
    driver = webdriver.Chrome(ChromeDriverManager().install(), options=options)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.__init__() got multiple values for argument 'options'

maybe you can help me ?

Greeting

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.