About Facebook SDK

A simple markup module to include the Facebook SDK as per the asynchronous method. It will catch any calls to /channel.html, allowing easy setup optimised for cross domain issues on IE.

Category 1Markup Generation
Markup modules that are called upon to generate or parse markup (like HTML). Markup modules are most often used on the front-end of a site (rather than admin).
Category 2Social, Feeds, Services
Modules that provide or work with social networking services and/or external feeds.
Release StateBeta
Close to stable, but users are advised to be cautious and test thoroughly.*
Authorffub
Module Version1.0.0
Class NameMarkupFacebookSDK
Compatibility2.1, 2.2
Date AddedJuly 26, 2012
Last UpdatedJuly 25, 2012
Recommended ByNew recommendations may take up to 1 day to appear.

Instructions

Install the module and enter your AppID in the module configuration.

In your template, you can include the JavaScript using the render() method.

Code:
<?php if($modules->get("FacebookMarkupSDK")) { $fb = $modules->get("FacebookMarkupSDK"); echo $fb->render(); } ?> </body> </html>