title: How do i refresh my Twitter API every 15 seconds?
body: <p>I was successful in installing the TWITTER API jquery script, but I can't figure out how to make the script refresh with the latest tweets without refreshing the entire page IN 15 SECOND INTERVALS.  Is it possible to use a .load or refreshID to reload script?  Can I also include a fade in and fade out when the function reloads?</p>
  
  <p>Anyone done this?</p>
  
  <p>Many thanks.</p>
  
  <p>Erik</p>
  
  <p>Here is my script:</p>
  
  <pre><code>&lt;script src="/src/jquery/jquery-1.4.2.min.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="/src/jquery/jquery.jtwitter.min.js" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script type="text/javascript"&gt;
  $(document).ready(function(){
      // Get latest 6 tweets by jQueryHowto
      $.jTwitter('eriksnet', 3, function(data){
          $('#posts').empty();
          $.each(data, function(i, post){
          $('#posts').append(
              '&lt;div class="post"&gt;'
              +' &lt;div class="txt"&gt;'
              // See output-demo.js file for details
              +    post.text
              +' &lt;/div&gt;'
              +'&lt;/div&gt;'
          );
      });
  });
  });
  &lt;/script&gt;
  
  
  
  &lt;div id="posts"&gt;Getting Erik's tweets...&lt;/div&gt;
  </code></pre>