Wednesday, January 25, 2012

Twitter RSS Feed Cheat Sheet (Redux)

Some notes on constructing searches that I've learned the hard way, but you don't have to:
  • Find a handy url-encoding cheat-sheet, like this one: You will have to replace special characters  (@, #, :, etc.) with their url-encoded version.

  • + and %20 (a url-encoded space) seem to be interchangeable when constructing complex search queries. If one doesn't work in between each search parameter, try the other. (Replace the "+" with OR for searches that return any of the keywords/search parameters, as opposed to all the keywords/search parameters.)

  • To see how Twitter itself is constructing a query, do the search in their advanced search (!/search-advanced), then follow this formula to construct your feed:

    Take the url that is produced from your search and replace the first part (!/search/) with the rss version (

    You will go from this:!/search/librarian%20tattoo
    to this: librarian%20tattoo

  • You can probably replace the ".atom" with ".rss" if you prefer. (As pointed out by @calimae.)


Here are some pre-constructed feeds, where you just replace the bold info with the info you want to use:

Hashtag search:

User mention search:

Specific user's entire timeline:

Keyword search:

Location + keyword search:

User mention + hashtag:

User + hashtag:

Hashtag + date:

*For the original version of this post, with more details, see:


Tadmin said...

if i want make following query:

(#hagtag1) AND (hashtag2 OR keyword)


(#hashtag1 AND #hashtag2) OR ('two keyword').

Where is the difference with spacebar and AND?

val said...

honestly, i don't know if the rss feed would respect your groupings. i tried these two, and they seemed to work for each query, respectively. you don't seem to need an AND, it's just implied. and you use the %20 (a url-encoded space) in between terms/hashtags.


Post a Comment