Rorra's blog Senior Developer

July 22, 2009

rails twitter search using search.atom

Filed under: Ruby — admin @ 4:36 PM


Recently, I had to create a twitter live feed for a work I’m doing…. so I found the gems for searching in twitter, but all of them were working with the search.json api, but since my client wanted the same results that he saw in twitter.search.com, I created a lib for that project (following the gem example code), in order to use the search.atom api and parse the xml results with hpricot.

If you deal with the same problem, here you have the code

TwitterFeed.rb

1 Comment »

  1. [...] (Via Rorra’s blog.) Original Link: rails twitter search using search.atom [...]

    Pingback by Mundo Ruby » Blog Archive » rails twitter search using search.atom — July 23, 2009 @ 9:17 PM

RSS feed for comments on this post. TrackBack URL

Leave a comment

Powered by WordPress