A Facebook embed provider for Discord and other messaging apps.
Replace www.facebook.com in your Facebook URL to facebed.com.
Public post and group comment permalinks are supported: copy the comment's
timestamp link, keeping comment_id and (for a reply) reply_comment_id in the
URL. The embed shows the comment author, body, available attachment, timestamp,
reactions and reply count. Facebook must expose the comment to logged-out
requests; unavailable comments use the existing Facebook fallback card.
Vencord settings
Using regex:
- Find:
https://(www.)?facebook.com/(.*) - Replace:
https://facebed.com/$2
- Install
python>=3.12withpipandvirtualenv - Clone this repository
- Copy
start.example.pytostart.pyand edit thePYTHONvariable to point to your venv or system installation (not recommended) - Copy
user_config.example.pytouser_config.pyand edit the self-explanatory options - Start the
start.pyscript
I recommend running facebed in a virtual environment if you don't want to pollute your
system-wide python installation.
Copy start.example.py to start.py and edit the PYTHON variable to the full path of
your python interpreter. Two examples are provided for running facebed in a venv virtual environment on
Windows and Linux. After that, you can start facebed by running python start.py using your
system's python since that script doesn't have any external dependencies.
