Add a Backup to Embedded Tweets in WordPress

Tweets in WordPress with Backups

Around 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.

“Don’t Be Evil” Tool — Backed By Facebook & Twitter — Shows Google’s “Search Plus Your World” Can Go Beyond Google+

I’ve written that Google has plenty of public data to allow parts its new Search Plus Your World feature to be inclusive of rival social networks like Facebook and Twitter. Now, those networks are proving that true, through a new “Don&#821…