How do I add the Twitter-generated widget to my site?

  • Unknown's avatar

    I have the Twitter html code that I want to add to my blog. But when I try to use the Text widget (that says it’s for arbitrary html and text) it doesn’t work. Is there something else that I need to do? Here’s the widget.

    <script src=”http://widgets.twimg.com/j/2/widget.js”></script>
    <script>
    new TWTR.Widget({
    version: 2,
    type: ‘profile’,
    rpp: 4,
    interval: 30000,
    width: ‘auto’,
    height: 300,
    theme: {
    shell: {
    background: ‘#d9c2a9’,
    color: ‘#703c0e’
    },
    tweets: {
    background: ‘#e6c2a3’,
    color: ‘#613e24’,
    links: ‘#9c7332’
    }
    },
    features: {
    scrollbar: false,
    loop: false,
    live: false,
    hashtags: true,
    timestamp: true,
    avatars: false,
    behavior: ‘all’
    }
    }).render().setUser(‘yellywelly’).start();
    </script>

    Any help will be greatly appreciated!

    Yelly
    Blog url: http://pinayabroad.wordpress.com/

  • We can’t allow their type of code for security reasons, but you can add a Twitter widget via Appearance -> Widgets in your blog’s Dashboard.

  • The topic ‘How do I add the Twitter-generated widget to my site?’ is closed to new replies.