Skip to content

Instantly share code, notes, and snippets.

@NicolaiSoeborg
Created September 9, 2020 22:05
Show Gist options
  • Save NicolaiSoeborg/098938bd34682e7f2674f87da7f513ae to your computer and use it in GitHub Desktop.
Save NicolaiSoeborg/098938bd34682e7f2674f87da7f513ae to your computer and use it in GitHub Desktop.
Setting up matrix - facebook bridge

You probably want to setup virtualenvwrapper or pipx, then install:

$ pip3 install --upgrade https://github.com/tulir/mautrix-facebook/tarball/master#egg=mautrix-facebook

Fix stuff in config.yaml

Run python3 -m mautrix_facebook -g

Copy newly generated registration.yaml:

$ cp registration.yaml /etc/matrix-synapse/fb-registration.yaml

Change in /etc/matrix-synapse/homeserver.yaml so it contains:

app_service_config_files: [
    "/etc/matrix-synapse/fb-registration.yaml"
]

Then restart synapse:

$ service matrix-synapse restart $ service matrix-synapse status

Start bridge:

$ python3 -m mautrix_facebook

Write a message to the bot and follow guide

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment