Twitter retired the old way websites fetched tweets on June 11, and boxes built on it stopped updating. Replace the box with Twitter's own embedded timeline, or remove it, then check every other box that borrows content.

A sidebar stuck in the spring

A customer mentions it in passing: the box on your home page that shows the business's latest tweets has not changed in weeks.

You look, and it is empty, or showing a small error, or frozen on a tweet from April about an offer that ended long ago.

Meanwhile you have tweeted most days. The account on Twitter is fine; only its copy on your website has stopped moving.

What Twitter switched off on June 11

Many sidebar boxes fetched tweets through the older version of Twitter's API, the doorway other programs use to ask Twitter for tweets. It let any website request an account's recent posts without signing in.

Twitter announced last year that the older version would close, and on June 11 it was switched off. The current version answers only programs that identify themselves with keys registered to a Twitter account.

Boxes built on the old method stopped that day. Twitter's notices went to developers, not to the businesses whose sites carried the boxes.

A failed box rarely announces itself. Some go blank, some show an error, and some keep displaying the last tweets they saved, which looks almost normal.

Boxes that borrow from other sites

A Twitter box is one of several things on a typical small business site that show content fetched from somewhere else:

Each depends on the other site keeping its door open in the same way. When that site changes its rules, the box on your page fails, and only someone looking at it will notice.

Finding out what the box is built with

Whoever built or maintains the site can tell you in a few minutes. The box is usually Twitter's own code, a plugin added to the site's software, or a script someone wrote.

Twitter's embedded timelines, offered since last autumn, kept working through the change. Its older boxes, made from code it handed out before then, depended on the old method and stopped with it.

Plugins and scripts vary. Some were updated in the spring and need only an update and a set of keys; others were abandoned by their authors.

Twitter's embedded timeline

The simplest replacement is the timeline Twitter provides itself. You create it on twitter.com while signed in to the business account, choose which tweets it shows, and copy a short piece of code.

The code goes where the old box was. Visitors' browsers then load the tweets straight from Twitter, so the timeline keeps up as Twitter's systems change.

It follows Twitter's rules for showing tweets, with names, photos and dates in the expected places. You can set its height, a light or dark theme and a link colour.

A worked example

A sports bar in Nanaimo, with screens along every wall and seats for a hundred, tweets most afternoons about tonight's games, the drink feature and the kitchen's specials.

Its website had shown those tweets in the sidebar for two years. In July a regular asked whether the playoff special listed there still ran, and the manager went to look.

The box still showed a tweet from May. A plugin the original designer installed had fetched tweets the old way, and since June it had kept its last batch on display.

The bar's web designer removed the plugin, created an embedded timeline for the account and placed it in the same spot. Twitter now delivers the tweets to each visitor directly, so the box moves whenever the account does.

The weekly specials and events also went onto the menu page as plain text. They no longer depend on any outside service being available.

When a custom box is worth rebuilding

Some sites show tweets in a design of their own, such as a single line across the header. Twitter's timeline cannot do that, but a developer can rebuild the box on the current version.

That means registering an application with Twitter, keeping its keys on the server, out of the page's code, and storing tweets for a few minutes so the site asks Twitter less often.

The rebuilt box must also follow Twitter's display rules. It is a modest job for someone who knows the current version, and worth it where the design genuinely matters.

Or take the box down

No site is required to show its tweets. If the account is quiet, or most tweets are replies to individual customers, a box full of them may do the site little good.

A plain link to the Twitter account, beside the other ways to follow the business, does the job with nothing that can stall. Visitors who want the tweets will read them on Twitter.

Facts that should not live in a feed

Whatever you decide, nothing a customer needs should depend on the box. Hours, prices, specials and event dates belong on pages you control and can edit.

A feed is a running stream, so last week's offer slides out of sight. A page keeps the current version in one place, where visitors and search engines can read it.

The counter-case

Some businesses really do run on their tweets. A food truck that posts where it is parked each day has good reason for a live box, and an empty one leaves customers guessing.

For a business like that the answer is a working box, checked every week, and a plain link to the account for times when Twitter itself is slow.

Either way, the box has to work. A broken one suggests the site is not looked after, the opposite of what a live feed is meant to show.

A check for every borrowed box

  1. Open the home page and each page with a sidebar.
  2. List every box that shows content from another site.
  3. Find out what each is built with and who added it.
  4. Replace the Twitter box with an embedded timeline, or remove it.
  5. Move hours, specials and events onto ordinary pages.
  6. Delete plugins the site no longer uses.
  7. Look at every borrowed box once a month.

Step seven would have caught this in June. Borrowed boxes fail without warning, so a short monthly look by a named person is the only alarm they have.

A different box that stays blank for some visitors, a virtual tour built in Flash and opened on an iPad, is explained in a virtual tour that needs Flash.


Frequently asked questions

Why did the Twitter box on my site stop updating?

Twitter switched off the older version of its API on June 11. Boxes that fetched tweets that way stopped, often still showing the last tweets they saved.

Is my Twitter account affected?

No. The account and its tweets are fine on Twitter itself. Only the copy shown on your website stopped, because of how the box fetched it.

What should replace the old box?

Twitter's embedded timeline, created on twitter.com while signed in to the business account. Paste its code where the old box was, and Twitter serves the tweets directly.

Can the box keep its custom design?

Yes, if a developer rebuilds it on Twitter's current version, with registered keys kept on the server and tweets shown as Twitter's display rules require.

Is it fine to remove the box altogether?

Yes. A plain link to the Twitter account does the job for most sites, and nothing on the page can stall or go stale.

How often should borrowed boxes be checked?

Once a month, by a named person, on every page with a sidebar. Borrowed boxes fail without warning, so looking is the only way to notice.

West Coast Media Solutions Inc. provides web design, web development, hosting, digital marketing, and business consulting to organisations across Canada, drawing on more than twenty-five years in the field.

Sidebar still showing a tweet from May?

Send us the page with the stalled box, and we will check every borrowed box and replace or remove those that stopped.

Start a Conversation