Friday tip: fix your website's broken Twitter feed


Date: 14 June 2013

Twitter feed fixDo you publish a live feed of tweets on your business website? And has it recently stopped working? For our tip this week, we can explain why.

It's all to do with changes Twitter is making to its API.


Let's step back for a moment. API stands for application programming interface. It's a set of functions in Twitter that allows people to create applications using Twitter data.

For instance, if you use a program like Echofon or HootSuite to manage your Twitter account, that software accesses Twitter through the API. You can think of it as an official connection through which third party apps can plug in to Twitter.

So, why has our feed stopped working then?

Back last year, Twitter announced it was moving to a new version of its API.

On 11 June this year, the changeover was complete, and the old API was shut down. This means any apps or tools that use the API stopped working.

We won't go into detail about all the API changes (here's more information, if you're interested), but one big difference is that it's now harder for apps to access a list of your recent tweets.

You now have to authenticate each app in your Twitter account, giving it permission to access your feed. Previously, this wasn't required.

How to fix your broken feed

If your website's Twitter feed has broken, it's probably to do with this authentication issue. There are a couple of ways to fix it, depending on how your website is built:

  • If your site was built for you by a developer, it's probably best to have a word with them about the changes. They should be able to update your site to work with the new API, or make other changes as required.
  • If you use a content management system for your site, it's likely you're using a plug-in or add-on to access your tweets. Updating this to the latest version may fix the problem.

You might also have to tweak how tweets are displayed on your site, as Twitter now requires tweets to be displayed in a consistent way.

What does the * mean?

If a link has a * this means it is an affiliate link. To find out more, see our FAQs.