fbsamples/web-social-cafe — pull request #6 by niallkennedy (2012-09-07 05:24:34+00:00)
Title: Cleanup PHP sample app

I tried to create a social cafe; I changed the code to match my progress and expectations.

Readme suggested I create a drink action. Code in `index.php` looked for orders. Changed PHP code to drink for consistency with readme.

I expected all documents would be well-formed HTML with a declared doctype, consistent spacing, and markup that would pass a W3C validation test as I debug my code.

Added required OGP property `locale` to better highlight international differences. Added structured OGP properties for images as a more precise example.

Objects I created under my namespace defined in `products.php` have the appropriate CURIE defined in head prefix instead of assuming social-cafe.

The `index.php` file threw some errors when trying to reference an array index on reserved variables `_GET`, `_POST`, `_REQUEST`

PHP SDK updated to 3.2.

JS SDK now includes a channel file on init for cross-domain niceness.

Images crushed to save space. Favicon recomposed at multiple sizes in Microsoft icon container.

General spacing cleanup. A couple typo fixes.

Absolute include file paths to avoid potential conflicts.