Free Mac Support

Twitter has a great little widget that you can add to any web page to display a Twitter search. This allows you to creating stream of information about any topic of interest and post it in your website. In a CMS-based site, such as WordPress or Jooma, or a social platform site, such as Spruz, you can add this widget to a global area, so it automatically shows up on every page.  

You can find the widget here.

For example, if you'd like a running commentary of the Seattle Sounders, you customize the widget as follows:

 

Example of Twitter search widget

 

However, there is a bug in the widget that has been acknowledged by Twitter: you cannot create a radius search around a location and insert it into the widget.  A radius search on Twitter allows you to find all tweets within a zip code or city name, such as "near:Tacoma within:15mi" or "near:98501 within:20km".  This is unfortunate because the radius search is a great way to find out what people are talking about in your area.

As it turns out, there is an alternative: Geocodes!

Geocodes include the latitude and longitude of a location.  So, for example, let's say I want to do that Tacoma search I listed above, you would enter the search as follows:  "geocode:47.252877,-122.444291,15mi".

If you don't happen to know the geocode of the location you'd like to search off the top of your head (smile) try this handy tool at iTouchMap.com.  Simply enter the address, city and state of the location (or just the city and state if you want the geographic center of a city), and you'll see the exact geocode.

Here's a custom widget for my home town, Menominee, Michigan:

 

 

But here's the really cool part:  you can use geocodes with search keywords to create a custom search.  For example, here are a pair of actual widgets I've created to follow the twitter streams about the playoff game between the Seattle Seahawks and the Chicago Bears next week:

 

 

 

 

 

 

 

Trash Talk on Twitter: Bears Vs. Seahawks Playoff Game

 

 

Thanks to the following thread for helping me find the answer to this problem: http://code.google.com/p/twitter-api/issues/detail?id=1401

Share

 

Thanks to Facebook’s new web integration tools, it’s easy to create a custom widget to connect your Facebook Fan Page to your website.  It will easily plug into CMS-based sites like WordPress or Joomla, and also work with social platform sites like Ning and Spruz.
To do this, just add an HTML element/mod to your site (I recommend adding it to the global sidebar). Then paste in the following code:
<table border=”0″ cellpadding=”1″ cellspacing=”1″>
<tbody>
<tr>
<td style=”background-color: rgb(R, G, B); “>
<iframe frameborder=”0″ scrolling=”no” src=”http://www.facebook.com/plugins/likebox.php?id=FANPAGEID&width=250&connections=8&stream=false&header=false&height=260″ style=”border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; overflow-x: hidden; overflow-y: hidden; width: 250px; height: 260px; “></iframe></td>
</tr>
</tbody>
</table>
Be sure to change the RGB values to match your site, and change “FANPAGEID” to your fan page ID (the number in the URL when you visit the page).
Note that because the iframe code creates a transparent widget, I have nested the iframe inside a table so I can change the background color.
If you want to use the code generator in the Facebook site to create the code instead, go to:
http://developers.facebook.com/docs/reference/plugins/like-box
Share
Gold Support

Subscribe for
Gold Membership

  • Receive answers to your Mac questions
     
  • View answers to questions posted by other members
     
  • 20% Discount on Additional Mac Services
     

Only $8.25/month!
w/1yr. subscription

Already a Member?
Log in Here

Share
Archives
  • 2012 (2)
  • 2011 (9)
  • 2010 (5)
My Tweets
Facebook