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.
Josef Fröhle 878e032fcb remove onConfigChange as not supported on Alpine Linux 1 year ago
contrib/etc update some typos and missing data 1 year ago
.gitignore some more tweaks and fixes 1 year ago
Dockerfile add inotify to container 1 year ago
README.md add more info to install steps 1 year ago
closehandle.go add systemd service files 1 year ago
configuration.go Change Images for Debug Mode 1 year ago
content_functions.go Change Images for Debug Mode 1 year ago
facebook.go comment all 1 year ago
fb_dataft.go comment all 1 year ago
go.mod update go.mod 1 year ago
go.sum update go.mod 1 year ago
main.go remove onConfigChange as not supported on Alpine Linux 1 year ago
main_test.go comment all 1 year ago
page_call.go some more tweaks and fixes 1 year ago
webhook.go comment all 1 year ago

README.md

Dependencies

  • libxml2-dev libonig-dev
  • chrome / chromium browser

Install

go build .
mv fbBot /usr/local/bin/
cp contrib/etc /
mkdir -p /etc/fbBot/content
chmod 755 /etc/fbBot/content

# change the /etc/fbBot/config.yaml to match your settings

systemctl daemon-reload
systemctl enable fbBot.service
systemctl start fbBot.service

Config

The Config File config.yaml should be located in /etc/fbBot.

development_mode: true
cronjob_interval: "@every 5m"
no_run_on_start: false
http_useragent: Mozilla/5.0 (Linux; Android 4.0.4; Galaxy Nexus Build/IMM76B) AppleWebKit/535.19
  (KHTML, like Gecko) Chrome/18.0.1025.133 Mobile Safari/535.19
webhooks:
  live:
  - https...
  - https
  devel:
  - https...
  - https
comment_on_posts:
- TY
- ty!
- danke!
- I could use it!
- thx!
- Thank you!
- Merci
- Yeah!
- Vielen Dank!
login:
  email: example@example.com
  passwd: thefbpassword