An embeddable widget to display a feed of upcoming Facebook events. This project is built with Silex and uses Composer for its dependencies.
$ composer.phar install
The src/
directory includes a config.php.dist
file, which should be copied
to config.php
and customized. Currently, the following options are available:
debug
: Enable verbose error reportingfacebook.app.id
: Facebook application ID (required)facebook.app.secret
: Facebook application secret (required)google.analytics.id
: Google Analytics IDgoogle.analytics.tld
: Google Analytics TLDtwig.cache_dir
: Cache directory for Twig templatesBy default, the application will use fbew-cache/
within the system's temporary
directory. This path, which must be writable, may be customized via the
twig.cache_dir
configuration option.
The application can be started using:
$ php -S localhost:8080 -t web web/index.php
Instructions for other web server configurations are outlined in the Silex documentation.