1. Copy upper template text;
2. Create new Template;
3. Name it "FacebookFanbox";
4. Select DekiScript style;
5. Paste the text inside;
6. Save it and you are ready.
/***
USAGE:
FacebookFanPage(profile_id, width, height)
Embed a Facebook fan page.
PARAMETERS:
profile_id : str
Facebook fan page profile ID.
width : int
Width of the widget. Optional.
height : int
Height of the widget. Optional.
fansCount : int
How many fans to show. Optional.
***/
var profile_id = $0 ?? $profile_id;
var width = $1 ?? $width ?? 300;
var height = $2 ?? $height ?? 550;
var fansCount = $3 ?? $fansCount ?? 0;
<div id="facebook-fan-box">
<iframe
scrolling="no"
frameborder="0"
src=("http://www.facebook.com/connect/connect.php?id="..profile_id.."&connections="..fansCount.."&stream=1")
allowtransparency="true"
style=("border: none; width: "..width.."px; height: "..height.."px;")>
</iframe>
</div>
{{ FacebookFanbox( "159681242662", "750", "550", "26" ) }}
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by