• Skip to primary navigation
  • Skip to main content
  • Skip to footer
  • Books
    • Content Strategy for WordPress (2015)
    • WordPress for Web Developers (2013)
    • Beginning WordPress 3 (2010)
  • Blog
    • Content Modeling for WordPress
    • WordPress Hidden Gems
    • Web Design
  • Work
    • Presentations and Interviews
    • on GitHub →
    • MLIS Class Projects (2019-2022)
    • Portfolio (2002-2019)
    • WordPress Plugins

Stephanie Leary

Writer, Front End Developer, former WordPress consultant

  • About
    • Press Kit
    • Presentations and Interviews
  • Contact Me

Twitter Archive, WordPress Importer

June 29, 2010 Stephanie Leary 1 Comment

I’ve finally managed to create a complete archive of my Twitter account — and none too soon, as I’m quickly approaching the 3200-tweet limit for exports. I’ll probably mess with the theme later, but for now I’ve followed Theme Lab’s tutorial more or less exactly. My only problem was that I had a hard time getting all the tweets! I tried several of the backup services, but Twitter was constantly having issues, and the backups would only go back four months or so. Finally, I found Brad Touesnard’s Twitter RSS Importer for WordPress. That worked a treat, once I updated it for WordPress 3.0. (I’ve sent Brad the updated version; he says he’ll post it soon.) It kept cutting me off after 71 pages every time, but I tweaked the code to change the starting page to 71, and then 142, and after a few tries I finally got everything. If you need to do the same, look for these lines:

$url = 'http://twitter.com/statuses/user_timeline/'.$this->username.'.rss?page=';
$i = 1;

… and just change the 1 to whatever page number you need. (Check how many tweets were imported and divide by 20.)

HOORAY. Finally, a complete backup!

WordPress Plugins

This is an excerpt from Content Strategy for WordPress.My latest books are Content Strategy for WordPress (2015) and WordPress for Web Developers (2013). Sign up to be notified when I have a new book for you.

Reader Interactions

Comments

  1. jared says

    June 30, 2010 at 9:31 am

    Wow, I’m at 3038, guess I better do this soon!

    Reply

Leave a Reply to jared Cancel reply

Your email address will not be published. Required fields are marked *

Footer

My Books

I’m a front end developer at Equinox OLI, working on open source library software. I was previously a freelance WordPress developer in higher education. You can get in touch here or on LinkedIn.

Copyright © 2025 Stephanie Leary · Contact