content top

How to subscribe to any twitter feed or query with RSS and the Twitter API

 The Twitter API luckily supports exporting data in a number of formats including JSON, XML and as ATOM feeds. Anyone who frequently uses Twitter for following the latest news, trends and your friends may be aware that each user’s account supports out-of-the-box RSS (via the icon on your profile page). But..did you know that you can also subscribe to any "search query" too?.

For example, If I wanted Google Reader to track only the 15 latest tweets for the search term "css3", all I’d have to do is subscribe to:   http://search.twitter.com/search.atom?q=css3&rpp=15&page=1 - and thats it. You’re also able to subscribe to regular rss feeds for any user (http://search.twitter.com/search.atom?q=from:addyosmani) and even subscribe to tweets within a certain longitude and latitude (http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km). Search queries you can return via this method can be relatively complex including boolean conditions, tweets mentioning (but not by) a particular user), or just replies. 

There’s more than a wealth of information you can query which can help save you build smarter widgets or components or even just keep track of the Twitter information that helps you the most. To see the full list of query types supported, go here.

 

 

Bookmark and Share
Share

Related posts:

  1. A jQuery and Twitter plugin. Nowadays everybody has a blog, social networking page or...
  2. Blimp – A mashup between the Bing API, PageGlimpse, YUI and TweetMeme with thumbnail previews of results   Hey all. A few weeks ago I decided to...
  3. Twitter Updates for 2009-04-13 Some really nice Joomla templates for anyone that uses...
  4. Twitter Updates for 2009-04-07 just finished mocking up business cards for Empora. Check...
  5. Twitter Updates for 2009-04-09 @globalicon I might. Do you have jobspecs and salary...

Related posts brought to you by Yet Another Related Posts Plugin.

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment