Twitter updates with JQuery

I’ve made a function for JQuery to show tweets on a page. To use it you need to:

  1. Add a container for the updates:
    <div><ul id="twitter_update_list"></ul></div>
  2. Download jquery.twitter.js and add it to your page.
  3. Add this script to the end of the page and replace USERNAME with the actual Twitter user:
    <script type="text/javascript">
    $(function() { $.twitter_updates({'username': USERNAME}) })
    </script>

jquery.twitter.js is pretty simple:

Categorías: Programacion

Leave a comment