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.
Share
Related posts:
Related posts brought to you by Yet Another Related Posts Plugin.
No comments yet.
RSS feed for comments on this post. TrackBack URL