Javascript/Iframe in Static FBML

Posted by Loveleen Kaur on Stack Overflow See other posts from Stack Overflow or by Loveleen Kaur
Published on 2011-01-12T07:37:11Z Indexed on 2011/01/14 3:54 UTC
Read the original article Hit count: 236

Is there any way the following script be embedded in Static FBML

<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script>
new TWTR.Widget({
  version: 2,
  type: 'profile',
  rpp: 4,
  interval: 6000,
  width: 250,
  height: 300,
  theme: {
    shell: {
      background: '#333333',
      color: '#ffffff'
    },
    tweets: {
      background: '#000000',
      color: '#ffffff',
      links: '#4aed05'
    }
  },
  features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: 'all'
  }
}).render().setUser('twitter').start();
</script>

I have tried following code in the Static FBML but it doesnt seem to work

<fb:iframe scrolling='no' frameborder='0' marginheight='0'  src='http://www.demo.kaazunut.com/twitter-box.html' height='500' width='500'></fb:iframe>

© Stack Overflow or respective owner

Related posts about facebook

Related posts about fbml