An embeddable widget for listing Facebook events.
PHP CSS
Switch branches/tags
Nothing to show
Permalink
Failed to load latest commit information.
cache Relocate cache and template directories May 22, 2012
src Update Google Analytics code Apr 18, 2014
web Upgrade app setup, autoloading, and service registration Mar 29, 2013
.gitignore
LICENSE Add package and license information Apr 1, 2013
README.md
composer.json
composer.lock Update gitignore and composer.lock Apr 1, 2013

README.md

fb-events-widget

An embeddable widget to display a feed of upcoming Facebook events. This project is built with Silex and uses Composer for its dependencies.

Setup

Install Dependencies

$ composer.phar install

Configuration

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 reporting
  • facebook.app.id: Facebook application ID (required)
  • facebook.app.secret: Facebook application secret (required)
  • google.analytics.id: Google Analytics ID
  • google.analytics.tld: Google Analytics TLD
  • twig.cache_dir: Cache directory for Twig templates

Cache Directory

By 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.

Web Server

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.