discord_fbmessenger_bridge
A hacky little proof-of-concept bridge between Facebook Messenger and Discord
How to use
Don't.
no u
Setup:
- Make sure
xdotool
is installed. - Set up a new Discord webhook. Remember the URL you get. It'll be of the form "https://discordapp.com/api/webhooks/NUMBERS/STUFF". Remember the NUMBERS part; it's the Webhook ID.
- Copy
settings.toml.example
tosettings.toml
and customize according to the comments in that file.
Run:
- Open a tab of Facebook Messenger, log in, and open a chat. I've tested this in Firefox; no idea if it works in Chrome.
- Then, start the Rust half by typing
cargo run
. Fix any errors. - Paste the contents of
blob.js
into the browser console, hit Enter, and click in the text field where you normally type messages.
If everything worked, messages sent by other people in the Facebook chat should show up in the Discord channel, and messages sent in the Discord channel should show up in the Facebook chat.
Other junk
No guarantees whatsoever that this'll work. Heck, I've only tried it once. Use only with whitehat accounts for research/educational purposes.