Need help? Check out our Support site, then


Twitter list

  1. I'm trying to add the Twitter list onto my Text widget. When I save the widget it changes the script and the list doesn't get posted onto my Blog front page. How can I get my Twitter list onto WordPress?

    The widget HTML code (obtained from Twitter widget tool) is as follows:

    <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
    version: 2,
    type: 'list',
    rpp: 30,
    interval: 30000,
    title: 'Tworts...',
    subject: 'The Sports Tweeple...',
    width: 150,
    height: 250,
    theme: {
    shell: {
    background: '#9a96ff',
    color: '#ffffff'
    },
    tweets: {
    background: '#ffffff',
    color: '#140de0',
    links: '#40bec2'
    }
    },
    features: {
    scrollbar: true,
    loop: false,
    live: true,
    behavior: 'all'
    }
    }).render().setList('Met_Uysh', 'sports').start();
    </script>

    After saving on the Text widget in Worldpress, it looks like this:

    new TWTR.Widget({
    version: 2,
    type: 'list',
    rpp: 30,
    interval: 30000,
    title: 'Tworts...',
    subject: 'The Sports Tweeple...',
    width: 150,
    height: 250,
    theme: {
    shell: {
    background: '#9a96ff',
    color: '#ffffff'
    },
    tweets: {
    background: '#ffffff',
    color: '#140de0',
    links: '#40bec2'
    }
    },
    features: {
    scrollbar: true,
    loop: false,
    live: true,
    behavior: 'all'
    }
    }).render().setList('Met_Uysh', 'sports').start();

    The blog I need help with is metuysh.wordpress.com.

  2. You can't use script code at WordPress.com; it's stripped out for security reasons.

    The easiest way to get a Twitter list into a page, post or text widget is just copy/paste into the VISUAL editor of Write Post(or page). To make a text widget, click to the HTML editor and copy all the code, then paste it in your widget. Make sure to check your HTML editor and close all your tags, otherwise you can mess up your blog seriously.

  3. @Raincoaster. What do you mean by closing all my tags? I'm totally web coding incompetent....

  4. Thanks for your comment. I've done what you suggested and the HTML I get is now as follows:
    <script src="http://widgets.twimg.com/j/2/widget.js"></script>
    <script>
    new TWTR.Widget({
    version: 2,
    type: 'list',
    rpp: 30,
    interval: 30000,
    title: 'What\'s happening...',
    subject: 'Sports....Met Uysh!',
    width: 250,
    height: 300,
    theme: {
    shell: {
    background: '#008f39',
    color: '#f2d203'
    },
    tweets: {
    background: '#ffffff',
    color: '#444444',
    links: '#2a08f0'
    }
    },
    features: {
    scrollbar: true,
    loop: false,
    live: true,
    behavior: 'all'
    }
    }).render().setList('Met_Uysh', 'sports').start();
    </script>

    However, it still doesn't show the list on my sidebar, only the text. How do I change it?

  5. No. Do not copy the CODE they give you. It is a script. It is never going to work here.

    First of all, go to your Settings->General and select "Wordpress should correct invalidly nested XHTML". This will prevent bad code from messing up your blog.

    Go to your LIST on the web, and highlight the whole thing, just the list. Not the titles or anything, just the actual column of names. Then paste it into the Write Post box, as if you were going to write a new blog post. Then click to the HTML editor tab (on top of the box) and copy all the code. Then put THAT code into your code widget, add a title, put it in your sidebar and you're done.

  6. Thanks. I managed to get the list onto my page, problem is their actual tweets doesn't show like the Twitter widget does. I now have all the members of the list on my page, rather than just say, the last 10 tweets from the collective members. For an example of what I'm trying to add onto my page, see my other blog, right hand side under badges. First is My teets (Header Met_Uysh) and then below that the list's tweets (What's happening....Met Uysh!)

    I want to get the list's tweets onto my page...if its possible.

    Here is the link to my other blog.

    http://blogs.sport24.co.za/uysh/inspiration-for-pink-bulls-jersey-design

  7. It is not possible, except by using an RSS widget for every single Twitter account on that list.

Topic Closed

This topic has been closed to new replies.

About this Topic