> For the complete documentation index, see [llms.txt](https://acolono.gitbook.io/combinary/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://acolono.gitbook.io/combinary/facebook-service/developer-documentation.md).

# Developer Documentation

Additional information for developers

#### Explanation of site code

A **.docksal/etc/php/php.ini** file should exist if you want to be able to add sttings such as `xdebug.remote_host`*.*

***Database*** folder contains the setup for the database and creates the required tables for the Facebook Graph API calls to be able to save the information to them.

***docker*** folder contains important environment variables for the site. Important to change is the `LIVE_URL` and `DEV_URL` depending on where you are running the application. Also setting the `Development` variable to `true` or `false`so the redirects are to the correct address.

***docroot*** contains the css and images requires as well as the application code. The main files are index.php, monitor.php and manage.php. The rest contain helper functions to save data to the database, get information from the Facebook Graph API and parse data. webhooks.php and webhook\_helper.php help to save webhook results by first confirming the webhook is actually from Facebook by checking the sha signature. wenhook\_helper.php helps to save data coming in from webhooks.
