PHP 5.4.x makes a few changes to the php.ini file which causes the Facebook PHP SDK to break. The issue is with the PHP SDK, which relies on $_REQUEST from the server, which has changed in PHP 5.4.0.
29
Facebook API: Posting a Status Update
The Facebook API lets you post status updates (message, links, photos etc) to your timeline via the API. This is handy if you want to have automatic sharing in your application (assuming users have consented to it) to post uploaded photos, links etc.
Facebook, Facebook Graph API, TutorialWonga Halloween Trick or Treat App

For Halloween, I helped wonga.com reskin an old app they had originally developed with a third-party agency. The app used Adobe Flash as the main user interface, with a PHP / MySQL backend.
Application, Facebook, Wonga.comFacebook API: App Notifications API for Facebook Canvas Apps
Use the new Facebook Notifications API to send app notifications to your users, instead of using emails or requests. No additional permissions required.
Facebook, Facebook Graph API, NotificationsYouTube and Facebook (Social Video) Example
An example of adding Facebook plugins to a YouTube video with some simple styling to make a professional looking page.
Facebook, Facebook Social Plugins, YouTube