FacebookFanPage

    This box includes basic usage information for this template.  When calling the template, this documentation will not appear.  Functional template code should be placed outside the dotted box.

    Summary

    Description Embed widget for Facebook fan page.
    Requirements MindTouch 10.0 or later
    Documentation URL  
    Discussion URL  

    Version History

    Make sure to place newest version at the top of the table.  Update the table regularly to make it easy to track changes and improvements.

    Version Date Author Description
    0.1 08-Dec-2010 SteveB first version

    Template Parameters

    List each parameter of the template in order they are expected.  For each parameter, state the set of expected types (bool, num, str, list, map, or xml).  Specify if a default value is used when the parameter is omitted.

    Name Type Default Description
    profile_id str   Facebook fan page profile ID.
    title str   Title of fan page.  Used for generating the link.
    url str   URI to Facebook fan page.
    var profile_id = $0 ?? $profile_id;
    var title = $1 ?? $title;
    var url = $2 ?? $url;
    
    <div id="facebook-fan-box">
        <iframe 
            scrolling="no" 
            frameborder="0"
            src=("http://www.facebook.com/connect/connect.php?id="..profile_id.."&connections=10&stream=1")
            allowtransparency="true" 
            style="border: none; width: 300px; height:550px;">
        </iframe>
        <div style="font-size:8px; padding-left:10px">
            <a href=(url)> title </a> ' on Facebook'
        </div>
    </div>
    
    Tag page
    You must login to post a comment.

    Copyright © 2011 MindTouch, Inc. Powered by