Twitter no longer provides RSS feeds, but there are workarounds that allow you to get Twitter RSS feeds without having to use Twitter itself. We’ll look at a few options in this post.
Feed readers with Twitter support
Are you looking to follow Twitter timelines in your feed reader? If so, it’s a good idea to check what level of support your feed reader has for Twitter. Many feed readers already have Twitter support built in (e.g. Newsblur, BazQux, Fraidycat).
Web applications generating Twitter RSS feeds
To generate regular RSS feeds for Twitter, there are a number of applications available. These include hosted services and self-hosted applications that you run yourself on your own server.
Using a hosted services is probably the easiest way to generate RSS feeds for Twitter because you don’t have to run and manage your own servers.
Be aware that if you use a free, public service, the more popular that service becomes, the more likely it is to hit Twitter’s rate limits. If that happens, your Twitter feeds could be affected.
Using a self-hosted application to generate Twitter feeds gives you more flexibility, but requires that you be somewhat comfortable running a server or have experience with managing a web hosting account.
Self-hosted Twitter feed generators generally fall in two camps:
- Relying on Twitter’s official API (requires that you sign up for a Twitter developer account to receive an API key).
- Relying on Twitter’s unofficial API (no API key required)
We’ll list a few self-hosted options at the end of this post, and will cover setup instructions for some of them in an upcoming post.
Hosted Twitter RSS services
Using a hosted services is probably the easiest way to generate RSS feeds for Twitter because you don’t have to run and manage your own servers.
Feed Control
Feed Control is a service we provide here at FiveFilters.org. It allows you to manage existing feeds, but also to generate RSS feeds from Twitter timelines. You can also choose whether to include retweets or not.
At the moment Feed Control does not let you produce feeds from hashtags or custom searches.
Feed Control comes with a free plan which lets you create up to two feeds each with a 12-hour refresh rate. Paid plans offer more feeds with more frequent refresh times.
Generating a Twitter RSS feed with Feed Control
- Create a Feed Control account (or login if you already have one)
- Visit Add Twitter feed
- Enter the Twitter username you want to generate an RSS feed from and click Next (or choose from one of the three options)
- (Optional) Check the ‘Include retweets’ checkbox if you’d like retweets in the feed.
- (Optional) Enter keywords to filter on if you’d like a filtered feed
- Click Next
- Hit Next again to skip ‘Alerts and Webhooks’ (you can set those up later if needed)
- Click Save
- Click Manage Feed
- Select the Generate RSS/JSON tab
- Use the RSS link to get the feed
Nitter
Nitter is an alternative Twitter frontend with a focus on privacy. It also provides RSS feeds for Twitter timelines, hashtags and searches.
The official site is at nitter.net but due to its popularity, it often hits Twitter’s rate limits and is rendered nonfunctional. Nitter lists alternative (unofficial) instances to share the traffic burden, these are less used so often work better. However, the same thing can happen to these if they get popular, so be prepared to switch to a different instance.
The Nitter project is open source and there are installation instructions for users who are happy to host it themselves. Doing so is a good way to avoid the rate limit issues associated with public instances.
RSS feed for a particular user
- Visit nitter.net or one of its alternative instances
- Enter the Twitter username you want a feed from
- Once you’re on the profile page –
https://nitter.net/[twitter-username]
– find the RSS icon in the top right of the page - Righ-click the icon and choose ‘Copy link’ – you’ll now have a feed URL you can use in your feed reader:
https://nitter.net/[twitter-username]/rss
Before clicking the RSS icon, you can also change to one of the other tabs first and get RSS feeds for Tweets & Replies, Media, and Search. These feed URLs use the following URL structure:
- Tweets and Replies:
https://nitter.net/[twitter-username]/with_replies/rss
- Media:
https://nitter.net/[twitter-username]/media/rss
- Search:
https://nitter.net/[twitter-username]/search/rss?f=tweets&q=[search term]
The above all produce RSS feeds associated with a particular Twitter user. You can also get RSS feeds from the results of a global Twitter search (e.g. for a particular hashtag).
RSS feed for global search results
- Load Nitter’s global search page
- Enter a search term, e.g. “Noam Chomsky”, or a hashtag, e.g. #chomsky or #gaza
- (Optional) Use the down arrow button to open a panel of filters that you can apply to your search, e.g. excluding videos, or only including tweets with images.
- Hit enter and after the results load, find the RSS icon in the top right
- Righ-click the icon and choose ‘Copy link’ – you’ll have have a feed URL you can use in your feed reader:
https://nitter.net/search/rss?f=tweets&q=[search term]
Self-hosted Twitter RSS applications
Using a self-hosted application to generate Twitter feeds gives you more flexibility, but requires that you be somewhat comfortable running a server, or have experience managing a web hosting account.
Self-hosted Twitter feed generators generally either rely on the official Twitter API or the unofficial API.
Using an application that relies on Twitter’s unofficial API is the easiest way to get started as it doesn’t require signing up for a Twitter developer account and entering API keys. But if Twitter make changes to the unofficial API, you might find your feeds stop working. This can happen with the official API too, but you’re more likely to receive notice of any upcoming changes then.
At FiveFilters.org, most of our feed-related tools are written in PHP. If you’re comfortable running our tools, you should have no trouble getting up and running with RSS Bridge and Tweetledee because they’re also both written in PHP and quite easy to set up. We’ll have guides for setting these up in an upcoming post.
RSS Bridge (unofficial Twitter API)
RSS Bridge is a PHP application that provides RSS output for not just Twitter, but a number of different websites and services. It relies on Twitter’s unofficial API to produce RSS feeds, so there’s no need for a Twitter developer account here.
Tweetledee (official Twitter API)
Tweetledee is a PHP application that focuses on Twitter RSS output. It uses the official Twitter API, so you’ll need a developer account from Twitter to use it.
Nitter (unofficial Twiter API)
We covered using the hosted Nitter services earlier, if you like its output, you can host it yourself. It uses the unofficial Twitter API, so you do not need to have a Twitter developer account to get it up and running.
RSS Hub (official Twitter API)
Similar to RSS Bridge, RSS Hub provides RSS output for a number of different sites and services. Unlike RSS Bridge, its Twitter output relies on the official Twitter API, so you’ll need a developer account to use it.