RSS feed
<< Eddie Izzard on Christopher Walken | Home | Reporter loses it >>

Add Twitter to Pebble

Add twitter to your pebble blog with the following code. Replace qicboy with your own login name. You should be able to see the results on the right hand side of this page. I update the information by sending an IM to my twitterim friend. The twitter site has code for creating a simliar effect on myspace blogger facebook etc.

      <!-- TWITTER -->
      <div class="sidebarItem" id="twitter_div">
      <div class="sidebarItemTitle">
      <span>Twitter</span>
      </div>
      <ul id="twitter_update_list"></ul>
      </div>
      <script type="text/javascript"
src="http://twitter.com/javascripts/blogger.js"></script>
      <script text="text/javascript"
src="http://twitter.com/statuses/user_timeline/qicboy.json?callback=twit
terCallback2&count=5"></script>
      <!-- /TWITTER -->

Consider moving the two script lines to the bottom of your template so that they don't slow the rendering of the page.

See also: Twitter

Tags :


Re: Add Twitter to Pebble

Very nice ... and the presentation is much better than on my blog, where I pull in the Twitter RSS feed.

Add a comment Send a TrackBack
Home