Got sick of your pals clogging your Facebook feed with cats, wisdom pictures and inspirational quotes? It's time for revenge, increase the relevance of your feed by automatically posting fresh Meme a day.
Got sick of your pals clogging your Facebook feed with cats, wisdom pictures and inspirational quotes? It's time for revenge, increase the relevance of your feed by automatically posting fresh Meme a day.
Initial requirement is to obtain access token from Facebook. Console gives a tip on that. Once you get the token, run token YOUR_ACCESS_TOKEN
from console. Your token will be exchanged to long-lived one and cached to disk.
Default bot's schedule is 9am and 4pm.
All configuration is made via environment variables. You can run bot using setup_env.sh
which will automatically setup environment variables from .env
file.
Create .env
file with the following contents:
APP_ID=YOUR_FACEBOOK_APP_ID
APP_SECRET=YOUR_FACEBOOK_APP_SECRET
TZ=YOUR_TIMEZONE # Example: Europe/Ljubljana
Facebook app must be created with publish_actions
permissions.
Pull requests are welcome.