Build a jQuery Twitter Feed

Copy and paste the code below into a post, page, widget, or your HTML code. Be sure to replace the screen_name on line 4.

[code lang=”js” highlight=”4″]

NOTE: You will need jQuery for this to work. If this isn’t working, try including the following library at the beginning of this code.

<script src="http://code.jquery.com/jquery-latest.js"></script>

3 thoughts on “Build a jQuery Twitter Feed”

  1. Thanks for this! Got he headed in the right direction. Only thing I noticed was if a tweet starts with a twitter name then it doesn’t provide a link to that user. I added this line:
    ct = ct.replace(/^(@)(\w+)/g, ‘ @$2‘);

    Thanks again.

  2. Thanks heaps. It works great!

    There’s only one thing I’d like to ask;
    How do you specifically modify details such as name, id, date, time, etc?
    For instance, I want to italicise the date, make the date bold, and such.
    Your answer could be mucho appreciated!

    Cheers

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>