Add a Backup to Embedded Tweets in WordPress
43Around this time last year, I showed you how to embed tweets in WordPress using the Twitter API.
Today, I want to improve on that script by adding a backup to it. Twitter is often down or unresponsive, and when it is, the previous script fails and displays nothing.
With a backup, we store an extra copy of each set of tweets that we find. When Twitter is down, we can then use this backup to display tweets as normal.