Skip to content

kapi2289/fb-anti-unsend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Facebook Messenger anti-unsend

Description

Are you getting angry when someone unsends the message and you can't see it? This project is for you! When someone will unsend the message, you'll get it immediately in your conversation with yourself.

Installation

Clone the repo

$ git clone https://github.com/kapi2289/fb-anti-unsend.git
$ cd fb-anti-unsend

Create the .env file and edit it with your favourite text editor

$ cp .env.example .env
$ nano .env

Install dependencies

$ pip install --user pipenv
$ pipenv install

And now you can run it!

$ pipenv run python start.py

Tips

This project is using fbchat library. You can get your session, turn it to JSON and save it to the session.json file

import fbchat
import json
client = fbchat.Client("[email protected]", "password")
session = client.getSession()

with open("session.json", 'w') as f:
	f.write(json.dumps(session))

And then you need to set the FB_USE_SESSION option to true in your .env file

About

Sends you every unsent message on Facebook Messenger

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages