Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

An embeddable widget for listing Facebook events.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 cache
Octocat-spinner-32 src
Octocat-spinner-32 web
Octocat-spinner-32 .gitignore
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README.md
Octocat-spinner-32 composer.json
Octocat-spinner-32 composer.lock
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.

Something went wrong with that request. Please try again.