/Messenger-Message-Logger

Logs Messenger messages, so you can check messages even after deleted 😉 . Logs them on local storage and sends a copy via Telegram bot!

Primary LanguagePython

⚠️ Warning ⚠️

Currently logging in from the script doesn't work 99% of the time. You have to copy the browser cookies from the browser and put that in a json file. More details are here.

Also, I'll not be responsible if your account gets blocked or deleted. USE AT YOUR OWN RISK!

Messenger-Message-Logger

Logs Messenger messages, logs them on local storage and sends a copy via Telegram bot!

Before Getting Started

*Enter your email, password, telegram chat ID and bot ID in the config.py file.

Installation & Usage

  1. Install Python 3 in your machine.
  2. Install python3-pip in your linux distro using apt or the package manager you have (not for Windows).
  3. Run pip3 install -r requirements.txt --user.
  4. Install git: sudo apt install git (for Ubuntu and Debian based. Command will differ for other distros. Not needed on Windows.)
  5. Run git clone --single-branch --branch v1 https://github.com/MS-Jahan/fbchat.git. You can delete other files and folders (cloned from my fbchat fork) except the fbchat folder. For Windows, you can just download the code (in zip file) for the code in branch v1.
  6. Clone this repository using git clone https://github.com/MS-Jahan/Messenger-Message-Logger. On Windows, just download the zip file and extract it.
  7. Now copy the previous fbchat folder to the Messenger-Message-Logger folder where the main.py file is.
  8. Open cmd/terminal and change directory to repository folder: cd Messenger-Message-Logger. (for example)
  9. Now run: python3 main.py

Logs when:

  • New text message received (normal message or replied message).
  • Someone sends images, gifs, stickers or any kind of attachment.
  • Someones reacts or remove reaction.
  • Someones changes thread (conversation) name, color/theme, emoji.
  • Someones changes nickname.
  • New friend request is received.
  • New video/audio call is started or someone joined call in group conversation. (UNTESTED)
  • Someone adds or removes someone (as admin or general member) and toggles 'Require Admin Approval' in group conversation.
  • Someone starts or stops typing in private chat.
  • Any kind of poll or plan activity is happened. (UNTESTED)