" />
Social Media

How to get your Twitter RSS feed using this simple hack

How to get your Twitter RSS feed using this simple hack
piers.scott@sociable.co'

Twitter has eradicated RSS feeds from its web interface once and for all, following an update to the site’s search page today.

When Twitter launched its redesign late last year it subtly removed RSS feeds for users’ tweets. And while RSS feeds are still available, you have to be willing to jump through some extra hoops to access them.

Of course, there was some suggestion that their removal was accidental, but some 10 months  later this seems not to be the case.

Twitter Fail Rail

Credit: Twitter

When Twitter redesigned users’ profiles it left its search page, http://search.twitter.com, untouched. This page contained the last surviving link for users to access native Twitter RSS feeds. With today’s redesign of the search page this link has now been removed.

So, how do you access a Twitter search RSS feed?

There are two ways to access Twitter search RSS feeds.  The easy way is to use a third party site such as Topsy.com to access an RSS feeds for tweets (click the link on the top right).

The other option is to use Twitter’s native, but painfully difficult method below.

For more information about finding Twitter RSS/Atom links;

Since the redesign Twitter has left RSS/Atom links created using the previous search system active. These RSS/Atom feeds can still be found here http://search.twitter.com/search.atom?q=thesociable and http://search.twitter.com/search.rss?q=thesociable

To create a custom RSS/Atom feed all you have to do is change the last word in the above address (in this case thesociable) for the term you are searching for.

As an example, if you want to see the latest tweets about Ireland, simply replace thesociable with the word ireland, http://search.twitter.com/search.rss?q=ireland

But if you have a more complicated search you may need to “URL encode” your search terms. What this means is, if you are looking for any tweets with a specific #tag or tweets from a specific @user you will first need to change the # and @ signs into something Twitter can understand. This page over at Albion Research will do this automatically for you, all you have to do is copy in the search term and press “Encode” then copy the code it gives you into the address.

For example, if you want to search for a specific #tag (e.g. #epicwin) this URL will return a blank page
http://search.twitter.com/search.rss?q=#epicwin but this URL encoded address will return the latest #epciwins http://search.twitter.com/search.rss?q=%23epicwin

Twitter’s search API provides these links as examples for creating advanced search RSS/Atom feeds.  You can change the search terms to customise your search.

Now, this is where it gets complicated, say you want to search for tweets from a specific location containing a hastag. To do this you will have find the geocode for the location.  As a starter the basic address will look something like this, http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km.

Imagine you want to see all the #technology tweets coming from within 25km of Dublin, Ireland. First visit this page and input Dublin, Ireland as a search term. This will give you two numbers – 53.344104 and -6.2674937 – this is the Latitude and Longitude for Dublin.

To turn this into a search RSS/Atom feed simply include these numbers in the above address, like this, http://search.twitter.com/search.atom?geocode:53.344104%2C-6.2674937%2C25km.  The %2C25km in the address limits the search to users within 25km of Dublin, for miles change km to mi.

To search for any tweets using the #tag #technology within 25km of Dublin add %2C%23technology (“%2C” is a URL encoded comma and %23 is a URL encoded #). http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km%2C%23technology

[Update: 2011/10/08 – How to combine a keyword and a geolocation]

In the comments below 123deportesaqui asked how to combine search terms and geolocation parameters without a hashtag, so we did some research.

To search for tweets from a specific location without a hashtag you have to combine the geocode parameter (e.g. geocode:40.757929%2C-73.985506%2C25km) with the standard search parameter and a space (or a %20).

So searches for the term “election” near Washington DC would look like this
http://search.twitter.com/search.rss?q=election%20geocode:38.895112,-77.036366,25km

For the same search near in Dublin you just have to change the geocode
http://search.twitter.com/search.rss?q=election%20geocode:53.344104,-6.2674937,25km

You can then combine these with boolean operators (AND / NOT) to refine your search. For example if you want to search for tweets from Washington DC above election but without the word “presidential” you can use the same search link as above but add %20-presidential%20 after the search term;
http://search.twitter.com/search.rss?q=election%20-presidential%20geocode:38.895112,-77.036366,25km

So, that’s it, the overly complicated way to hack a Twitter search RSS/Atom feed together.  Let us know if you find an easier way.

View Comments (82)

82 Comments

  1. Pingback: Quora

  2. ian@mayman.co.uk'

    ianonline

    August 2, 2011 at 12:50 AM

    Fantastic article, but what if you want to search excluding something?

    An example search: thesociable follow -RT -“

    This should give a feed of tweets asking @thesocialable to follow back but excludes almost all retweets. However I can’t get it to work.

  3. ian@mayman.co.uk'

    ianonline

    August 2, 2011 at 12:50 AM

    Fantastic article, but what if you want to search excluding something?

    An example search: thesociable follow -RT -“

    This should give a feed of tweets asking @thesocialable to follow back but excludes almost all retweets. However I can’t get it to work.

  4. ian@mayman.co.uk'

    ianonline

    August 2, 2011 at 12:50 AM

    Fantastic article, but what if you want to search excluding something?

    An example search: thesociable follow -RT -”

    This should give a feed of tweets asking @thesocialable to follow back but excludes almost all retweets. However I can’t get it to work.

    • the@sociable.co'

      thesociable

      August 2, 2011 at 2:10 PM

      @ianonline@thesocialable Ouch, hard question – try this http://search.twitter.com/search.atom?q=thesociable%20-RT – if this doesn’t work replace %20 with a space.

      • ian@mayman.co.uk'

        ianonline

        August 3, 2011 at 5:04 AM

        @thesociable My account is at @thequote and I have tried about 15 different variations but I think I have the answer:

        http://search.twitter.com/search.atom?q=%40thequote%20follow%20-from:thequote%20-RT=%22

        This excludes retweets, my own tweets, and displays only thank you tweets and follow requests. feedvalidator.org says it does not validate, but two RSS readers seem happy with it and it does get me the results I expect. :)

        • the@sociable.co'

          thesociable

          August 4, 2011 at 11:09 PM

          @ianonline@thequote Nice, you can also change the .atom with xml, rss, json depending on where you want to use the feed.

          Pity we now have to go to this length just to get an RSS feed

  5. the@sociable.co'

    thesociable

    August 2, 2011 at 2:10 PM

    @ianonline@thesocialable Ouch, hard question – try this http://search.twitter.com/search.atom?q=thesociable%20-RT – if this doesn’t work replace %20 with a space.

  6. ian@mayman.co.uk'

    ianonline

    August 3, 2011 at 5:04 AM

    @thesociable My account is at @thequote and I have tried about 15 different variations but I think I have the answer:

    http://search.twitter.com/search.atom?q=%40thequote%20follow%20-from:thequote%20-RT=%22

    This excludes retweets, my own tweets, and displays only thank you tweets and follow requests. feedvalidator.org says it does not validate, but two RSS readers seem happy with it and it does get me the results I expect. :)

  7. the@sociable.co'

    thesociable

    August 4, 2011 at 11:09 PM

    @ianonline@thequote Nice, you can also change the .atom with xml, rss, json depending on where you want to use the feed.

    Pity we now have to go to this length just to get an RSS feed

  8. litou@gmx.at'

    consument

    August 5, 2011 at 12:39 PM

    Thank you for that triggering article! Please could you advise?

    I tried to get an RSS for special tags within 25km rang of my city. I tried to use geocodes but got this only running with hashtags not with search terms.How would you formulate the URL to get an appropriate RSS Feed?

  9. litou@gmx.at'

    consument

    August 5, 2011 at 12:39 PM

    Thank you for that triggering article! Please could you advise?

    I tried to get an RSS for special tags within 25km rang of my city. I tried to use geocodes but got this only running with hashtags not with search terms.How would you formulate the URL to get an appropriate RSS Feed?

    • the@sociable.co'

      thesociable

      August 5, 2011 at 8:11 PM

      @consument So you’re looking for an RSS which includes a search term, a #tag, from within 25km of a city?Let us know if this works – this searches for any tweets from within 25km of Dublin with the #tag #technology that also mention ‘laptops’ [ie %23technology = #technology and %2Claptop searches for laptops]http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km%2C%23technology%2Claptop

      Let us know if this works

      • litou@gmx.at'

        consument

        August 16, 2011 at 7:55 AM

        thanks, that works perfectly! @thesociable

  10. the@sociable.co'

    thesociable

    August 5, 2011 at 8:11 PM

    @consument So you’re looking for an RSS which includes a search term, a #tag, from within 25km of a city?Let us know if this works – this searches for any tweets from within 25km of Dublin with the #tag #technology that also mention ‘laptops’ [ie %23technology = #technology and %2Claptop searches for laptops]http://search.twitter.com/search.atom?geocode=40.757929%2C-73.985506%2C25km%2C%23technology%2Claptop

    Let us know if this works

  11. Pingback: Twitter y los feeds RSS: El ultimo capitulo de un divorcio | El Ornitorrinco en Linea

  12. the@sociable.co'

    thesociable

    August 14, 2011 at 1:30 AM

    To make things easier, we have just created this Twitter RSS generator http://bit.ly/pBGU5q

  13. the@sociable.co'

    thesociable

    August 14, 2011 at 1:30 AM

    To make things easier, we have just created this Twitter RSS generator http://bit.ly/pBGU5q

  14. the@sociable.co'

    thesociable

    August 14, 2011 at 2:02 AM

    Update: We’ve created a Twitter RSS generator – check it out http://bit.ly/oDEFsP

  15. the@sociable.co'

    thesociable

    August 14, 2011 at 2:02 AM

    Update: We’ve created a Twitter RSS generator – check it out http://bit.ly/oDEFsP

  16. litou@gmx.at'

    consument

    August 16, 2011 at 7:55 AM

    thanks, that works perfectly! @thesociable

  17. Pingback: My Stimuli » Twitter removes all search RSS links from its site, now users must resort to hacks to get feeds |

  18. Pingback: Replacing Twitter Search RSS Feeds | Jess In Ohio

  19. Pingback: Twitter removes all search RSS links from its site, now users must resort to hacks to get feeds | RSSNews | Scoop.it

  20. t4dream@gmail.com'

    t4dream

    September 23, 2011 at 7:20 PM

  21. t4dream@gmail.com'

    t4dream

    September 23, 2011 at 7:20 PM

  22. Pingback: HOW TO: Still Use Twitter Search to Track Your Brand Mentions via RSS | Search Engine People | Toronto

  23. 123deportesaqui@gmail.com'

    123deportesaqui

    October 7, 2011 at 4:43 PM

    your article is very useful, the only thing I can not figured out is this, I want to search for example any tweets with the word technology (without #, is not a hashtag) within 25km of Dublin

    I simply remove the “%23” before the word technology but it doesnt work, if I put again the “%23” works like a charm!

    Any tip about ho to do this?

    thanks

  24. 123deportesaqui@gmail.com'

    123deportesaqui

    October 7, 2011 at 4:43 PM

    your article is very useful, the only thing I can not figured out is this, I want to search for example any tweets with the word technology (without #, is not a hashtag) within 25km of Dublin

    I simply remove the “%23” before the word technology but it doesnt work, if I put again the “%23” works like a charm!

    Any tip about ho to do this?

    thanks

  25. b.nijhoff@bajaca.nl'

    b.nijhoff

    October 13, 2011 at 8:22 AM

    Thanks for sharing this really useful article. I wondered how to get the rss feeds on twitter these days. Thanks and keep on the good work.

  26. b.nijhoff@bajaca.nl'

    b.nijhoff

    October 13, 2011 at 8:22 AM

    Thanks for sharing this really useful article. I wondered how to get the rss feeds on twitter these days. Thanks and keep on the good work.

  27. interactive_marketing@hotmail.com'

    RSA Course

    October 13, 2011 at 8:51 AM

    Hiya, why would I want to use an RSS feed on twitter. What do I do with them, or what do you do with them?

  28. samturner42@ymail.com'

    RSA Course

    October 13, 2011 at 8:51 AM

    Hiya, why would I want to use an RSS feed on twitter. What do I do with them, or what do you do with them?

  29. Pingback: Giving Thanks & Giving Back | Cirquedumot.com

  30. mindrisehypnosis@gmail.com'

    mindrise

    November 28, 2011 at 3:06 AM

    I was jsut thinking of this an rss feeds on twitter would have been great for indexing

  31. mindrisehypnosis@gmail.com'

    mindrise

    November 28, 2011 at 3:06 AM

    I was jsut thinking of this an rss feeds on twitter would have been great for indexing

  32. jeff01050@gmail.com'

    katethegreat

    November 28, 2011 at 3:16 AM

    indexing of what Jim? posts of your own websites?

  33. mindrisehypnosis@gmail.com'

    mindrise

    November 28, 2011 at 4:06 AM

    I was jsut thinking of this an rss feeds on twitter would have been great for indexing

  34. jeff01050@gmail.com'

    katethegreat

    November 28, 2011 at 4:16 AM

    indexing of what Jim? posts of your own websites?

  35. andreasbossard@gmail.com'

    AndreasBossard

    December 10, 2011 at 9:32 PM

    Thanks for the RSS-Generator @thesociable for the Twitter RSS Generator.

    But the really interesting question this raises is: Why has it been removed? It was so useful have an RSS-Feed for monitoring Twitter for certain terms.

    Will monitoring get integrated into Twitter?

  36. andreasbossard@gmail.com'

    AndreasBossard

    December 10, 2011 at 9:32 PM

    Thanks for the RSS-Generator @thesociable for the Twitter RSS Generator.

    But the really interesting question this raises is: Why has it been removed? It was so useful have an RSS-Feed for monitoring Twitter for certain terms.

    Will monitoring get integrated into Twitter?

  37. andreasbossard@gmail.com'

    AndreasBossard

    December 10, 2011 at 9:32 PM

    Thanks for the RSS-Generator @thesociable for the Twitter RSS Generator.

    But the really interesting question this raises is: Why has it been removed? It was so useful have an RSS-Feed for monitoring Twitter for certain terms.

    Will monitoring get integrated into Twitter?

  38. andreasbossard@gmail.com'

    AndreasBossard

    December 10, 2011 at 9:32 PM

    Thanks for the RSS-Generator @thesociable for the Twitter RSS Generator.

    But the really interesting question this raises is: Why has it been removed? It was so useful have an RSS-Feed for monitoring Twitter for certain terms.

    Will monitoring get integrated into Twitter?

  39. andreasbossard@gmail.com'

    AndreasBossard

    December 10, 2011 at 10:32 PM

    Thanks for the RSS-Generator @thesociable for the Twitter RSS Generator.

    But the really interesting question this raises is: Why has it been removed? It was so useful have an RSS-Feed for monitoring Twitter for certain terms.

    Will monitoring get integrated into Twitter?

  40. harald.walker@gmail.com'

    haraldwalker

    December 12, 2011 at 1:26 PM

    Looks like all of the search.twitter.com… links stopped working since the latest Twitter update.

  41. harald.walker@gmail.com'

    haraldwalker

    December 12, 2011 at 2:26 PM

    Looks like all of the search.twitter.com… links stopped working since the latest Twitter update.

  42. Pingback: Liensdumatin 01/15/2012 « Ray's liens du matin

  43. jose@thedigitalpost.co.uk'

    TheDigitalPost

    January 16, 2012 at 4:00 PM

    Thanks for providing this info as I’ve only just discovered the RSS feed option is no longer available on Twitter Search. I haven’t got time to do this right now but I’ve tagged this page so I can come back to it.

  44. jose@thedigitalpost.co.uk'

    TheDigitalPost

    January 16, 2012 at 5:00 PM

    Thanks for providing this info as I’ve only just discovered the RSS feed option is no longer available on Twitter Search. I haven’t got time to do this right now but I’ve tagged this page so I can come back to it.

  45. admin@abcreditcardpayments.com'

    abcreditcard

    January 19, 2012 at 9:51 AM

    huh so now I know why I couldn’t find it. Thanks for the heads up :/

  46. admin@abcreditcardpayments.com'

    abcreditcard

    January 19, 2012 at 9:51 AM

    huh so now I know why I couldn’t find it. Thanks for the heads up :/

  47. admin@abcreditcardpayments.com'

    abcreditcard

    January 19, 2012 at 10:51 AM

    huh so now I know why I couldn’t find it. Thanks for the heads up :/

  48. Pingback: Quora

  49. Pingback: 继续订阅Twitter的RSS源 | Thank you, Sami!

  50. Pingback: 4 reasons to use an RSS feed | keiths.blog

  51. Pingback: Penguin Pain and Forward Planning | distilled

  52. Pingback: Penguin Pain and Forward Planning | Reputation Expert

  53. Pingback: How To Use Twitter To Make Sales - AllTwitter

  54. Pingback: Adding a Twitter feed with SharePoint xml viewer web part | Heather Waterman

  55. Pingback: Web Monitoring: The Importance of Listening to Brand Conversations Online « LiveRez Vacation Rental Software Blog

  56. Pingback: Find Reviewers for your Book with our Free Twitter Tool

  57. Pingback: Sådan bygger du en simple twitter-bot | Kasper Hyllesteds weblog

  58. davemelvin34@yahoo.com'

    LWZine

    July 13, 2012 at 1:56 PM

    Searching “thesociable follow -RT -” should give a feed of tweets asking @thesocialable to follow back but excludes almost all retweets. However I can’t get it to work. How can I do this? Thank you for providing this great article btw
     

    • the@sociable.co'

      thesociable

      July 13, 2012 at 2:39 PM

      humm, does this work for you >> follow -RT to:thesociable << which generates an RSS like this one http://j.mp/NmibHR 

  59. xxx2@etb.net.co'

    AntiHembrismo

    September 10, 2012 at 7:27 PM

    where I can find the geocode for Colombia???

    • the@sociable.co'

      thesociable

      September 11, 2012 at 5:42 PM

       @AntiHembrismo try this http://j.mp/NmyzfM

  60. Pingback: Ubiquitous reference | Mica Meerbach

  61. Pingback: A case study in following a field online: setting up feeds on CCGs | Online Journalism Blog

  62. oisinconolly@gmail.com'

    DigitalBiscuits

    October 12, 2012 at 2:20 AM

    just found out my feed had been turned off today :(…this method works like a charm though.Thanks!

  63. Pingback: Building ETMOOC Twitter Syndication/Archive - CogDogBlog

  64. Pingback: Conectar Twitter amb Linkedin mitjançant #in | id33s

  65. andrew@muschamp.ca'

    MuskieMcKay

    March 5, 2013 at 12:37 AM

    According to Mashable and Twitter’s own developer forum, all RSS feeds will stop working on March 5th. I think it may be possible to code up a workaround similar to this:
     
    http://blog.muschamp.ca/2013/03/04/rss-feed-from-twitter-search-with-php/
     
    But that is assuming you want to just read the RSS feeds, if you plan on publishing them or even displaying them that breaks Twitter’s Terms of Service for use of their API. You need API keys even to search or subscribe to a timeline for Version 1.1 of the Twitter API.

  66. kulwant2singh@gmail.com'

    kulwant2singh

    July 13, 2013 at 6:27 PM

    Thanks it helped a lot :)

  67. kulwant2singh@gmail.com'

    kulwant2singh

    July 13, 2013 at 6:27 PM

    Thanks it helped a lot :)

Leave a Reply

Your email address will not be published. Required fields are marked *

Social Media
piers.scott@sociable.co'
@pdscott

Piers Dillon-Scott is co-editor of The Sociable and writes about stuff he finds. He likes technology, media, and using the Oxford comma (because it just makes sense).

More in Social Media

SocialMediaCampaign

SEO lessons from the most successful social media campaigns

Guest ContributorApril 19, 2016
developing

Digital Colonialism: Facebook’s agenda to limit connectivity in developing countries

Tim HinchliffeApril 1, 2016
© RTL Belgium / Reuters

#StopIslam trending on Twitter, mostly condemning anti-Muslim rhetoric

Tim HinchliffeMarch 22, 2016
drunk

Twitter can now detect drunk Tweets just in time for St. Patrick’s Day

Tim HinchliffeMarch 17, 2016
smauto

3 tasks you should be automating on social media

Guest ContributorMarch 8, 2016
depression

Researchers explore social media to monitor mental illness

Tim HinchliffeMarch 3, 2016
seo marketing

How to combine SEO and social media to grow your business audience

Guest ContributorMarch 3, 2016
lgbt emoji

Indonesia bans gay emojis as govt quietly ‘weakens’ anti-corruption agency

Tim HinchliffeFebruary 19, 2016
francebook

France gives Facebook 3 months to stop spying on non-users, FB agrees to comply

Tim HinchliffeFebruary 12, 2016