Facebook to Mastodon Bridge
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
André 30e55e12af update roadmap 1 year ago
vendor change multi-tweets show (n/max) at the beginning 1 year ago
.gitignore typo fixes 2 years ago
LICENSE initial commit 2 years ago
README.md update roadmap 1 year ago
config.json.example update example config.json 2 years ago
mastaface.py add multiple images support (up to four images) 1 year ago

README.md

Mastaface - A simple Facebook to Mastodon Bridge

Mastaface scrapes the last post of a public facebook page and bridges it to mastodon.

Features:

  • splits facebook posts with are longer than the character limit into serveral toots (replies)
  • checks only for the last post, so if you miss one, you're out of luck
  • only cross-posts up to the first four images of a facebook post

Please be sure to get the permission before mirroring some facebook site.

Dependencies

OS:

  • curl

Python:

  • Mastadon.py
  • facebook-scraper

Usage:

Copy config.json.example to config.json and adjust it to your needs. Setup a cronjob to run the script periodically. Timelap must be shorter than minimum time difference between two facebook posts.

Roadmap:

  • make changing youtube links to invidios instances a global configurable setting, being able to choose an instance or just let it be youtube.