Fork of mastaface from linos @ codeberg.org
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.
Samuel ORTION d5dd62b3f7 Added instance link (rel=me) && corrected typo 4 months ago
vendor change multi-tweets show (n/max) at the beginning 11 months ago
.gitignore typo fixes 1 year ago
LICENSE initial commit 1 year ago
README.md Added instance link (rel=me) && corrected typo 4 months ago
config.json.example update example config.json 1 year ago
mastaface.py Added instance link (rel=me) && corrected typo 4 months 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.

Instance used in:

@cotcot@pouet.chapril.org