Javascript not showing up on Facebook Application's Profile Tab
- by prateekdayal
Hi,
This may sound very noobish but I have tried to read the forum posts and docs on javascript behavior on Facebook's profile tabs. I understand that profile tabs don't support referencing external javascript but even my inline tags are not showing up on profile pages.
In fact I am trying the fbjs-swf bridge and the code needed to instantiate the swf does not show up on the page
<fb:fbjs_bridge/>
<div id="swfContainer"></div>
<script>
var swf = document.createElement('fb:swf');
swf.setId('my_swf_id');
swf.setWidth('630');
swf.setHeight('520');
swf.setSWFSrc('http://www.muziboo.com/swf/player4-2.swf');
document.getElementById('swfContainer').appendChild(swf);
document.getElementById('my_swf_id').callSWF('asMethod', 'one', 'two');
</script>
I see a swf embedded (the one for the fbjs bridge) but I don't see any script tag containing the above javascript code. What am I missing? I can see the javascript code on canvas page though
Thanks