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.
hfte d769f3904b fix logging 2 years ago
vendor move split_tweet to vendor direcotry 2 years ago
.gitignore move split_tweet to vendor direcotry 2 years ago
LICENSE initial commit 2 years ago
README.md remove hardcoded config-part and typo 2 years ago
config.json.example initial commit 2 years ago
mastaface.py fix logging 2 years ago

README.md

** This is early alpha and more like a proof of concept **

Mastaface

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 the main-image 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.