Skip to content

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

Notifications You must be signed in to change notification settings

DhruvAthaide/Facebook-Messaging-Automation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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"

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.

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.

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

About

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages