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


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

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

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


  • je

    je 7 years ago 00


    thanks for this module

    what is the AppID?


  • eo

    eo 5 years ago 00

    The Class called "MarkupFacebookSDK" not "FacebookMarkupSDK". What is to do, when there is a nother facebook icon on the same site with id="fb-root" and a facebook inline script? Thanks!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.