This Python script uses the fbchat
library and a simple graphical user interface (GUI) created with PySimpleGUI
to send multiple messages to a Facebook friend. Users can input the recipient's name, the message to send, and the number of times to send the message. After clicking the "Ok" button, the script searches for the specified friend and sends the message the specified number of times. It also measures and prints the runtime for each message sent. This tool is intended for educational purposes and should be used responsibly and with the recipient's consent.
- Python 3.x
- fbchat library (you can install it using pip:
pip install fbchat
) - PySimpleGUI library (you can install it using pip:
pip install PySimpleGUI
)
-
Facebook Account: You need a Facebook account to use this script. Make sure to enter your Facebook username and password in the code where indicated.
-
Input Parameters:
- Id name: Enter the name of the Facebook friend you want to send messages to.
- Message: Type the message you want to send to your friend.
- How: Enter the number of times you want to send the message.
-
Running the Script:
- Run the script.
- A GUI window will appear where you can input the recipient's name, message, and the number of times you want to send the message.
- Click the "Ok" button to start the chat bombing.
-
Chat Bombing:
- The script will search for the specified friend on Facebook and send the message the specified number of times.
- The runtime for each message sent will be printed in the console.
-
Exiting:
- You can close the GUI window at any time to stop the script.
Note: Ensure that you have a stable internet connection and use this tool responsibly and in compliance with Facebook's terms of service.