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