About WDFloyd

Dave Floyd is a lawyer and consultant in Austin, Texas. He works with the Foskitt Law Office.

Friday, January 4, 2013

Twitter Widget for Your Blog

If you know something about HMTL, web developing, or possess some useful technical web skills then this post probably isn't for you.  If you are lawyer (or other similar type person) engaged in some DIY blogging, this post might come in handy.

In order to add Twitter widget to your blog on Blogger, check out the Widget Configurator provided by Twitter.   Enter the basic information, and at the bottom of the page you'll get something like this :


!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.crateElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore-document,"script","twitter-wjs");

Copy this code.  Next, go into the layout control panel for your Blogger page.  Click on "add a gadget" in area of the page onto which you wish to place your new Twitter widget.  When the menu for Blogger produced gadgets (aka widgets) appears, select the one for Java/HTML script.  Paste the code from into the box.  It's that easy.   

Your Twitter widget should appear as a nice box with recent Tweets (like my in the column to the right) immediately; however, if you only see a one link hyperlink asking to follow your account then wait.  It took mine a couple of hours before Twitter began to send the appropriate information.  If you wait for a few hours and nothing appears, go back to your Twitter account's Widget Configurator page and be sure you entered your domain/URL appropriately.  If this information is correct and the Twitter widget isn't working, you should probably contact Twitter about the problem (or call a friend who's good with web mechanics).