twitst4tz

twitter statistics web application
Log | Files | Refs | README | LICENSE

index.html (343B)


      1 <script src="/socket.io/socket.io.js"></script>
      2   <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.js"></script>
      3  <script>
      4 
      5        var socket = io.connect('http://localhost:3000');
      6        socket.on('stream', function(tweet){
      7        $('#tweetd').append(tweet+'<br>');
      8        });
      9  </script>
     10  <div id="tweetd"></div>
     11 </div>