In: , , ,
On: 2010 / 09 / 21
Shorter URL for this post:

I've tried various plugins to backup my tweets into WordPress but none did really the job (actually most were doing much more stuff I didn't need, and most didn't keep track of the "in reply to" bits I wanted to have), so I made my own, which has powered my tweet archive for some time now.

The plugin is now available for anyone interested: Ozh' Tweet Archiver (along with my archive's theme if you need an example). Cheers!

Shorter URL

Want to share or tweet this post? Please use this short URL:


This entry "Backup and Archive Twitter To WordPress" was posted on 21/09/2010 at 11:27 pm and is tagged with , , ,
Watch this discussion : Comments RSS 2.0.

8 Blablas

  1. Yitzchok says:

    Cool plugin, but when I tried it, it went and saved everything as posts (which I didn't realize it would do) and then my YOURLS: WordPress to Twitter plugin went and reposted everything to Twitter.
    Cleaned up now :)

  2. Ozh says:

    Yitzchok » It usually helps to read the documentation before using a plugin…

  3. Yitzchok says:

    Definitely does :)
    I just should have disabled the WordPress to Twitter plugin first…

  4. Samuel says:

    Thanks for sharing this Ozh ;)

    I found a problem when using hashtags with international characters. Example below:

    I have this tag created by this plugin in my WP Twitter archive

    But it belongs to this hashtag #músicaparasuicidarse

    So it seems that the plugin stopped just before 'ú' character when creating the tag in WP resulting in an incomplete tag :(

    Would be nice if you can fix this ;)

  5. Ozh says:

    Samuel » Yeah, I'm aware of this, had a couple hashtags break too (lol at yours, btw). The regexp to catch all is real tricky.

  6. Samuel says:

    Yeah funny hashtag hehe :)

    I found a weird behaviour too…

    The hashtags section at sidebar is constructed only with equivalent WP tags while you see the tweets in WP.

    So at the beginning (just after importing) only a few hashtags were there (those showing in the home first page), and now there are much more because I was browsing the archive.

    But not only that, if you click to some hashtag (WP tag) it shows only the tweets that have been visited (by you or other people).

    So, I must visit every month archive through pages for constructing the hashtags at the sidebar… :-?

    Very very weird.

  7. Ozh says:

    Samuel » as explained here, the tags are actually generated when the post is viewed (I elected to do this to save lots of queries at importing time). So after first import, yes, you have to browse the archive (or give googlebot a few days to do it for you). After the initial import, bots and yourself will visit the site regularly so hashtags will be converted on the fly. So basically bot visits will both trigger the cron job and the hashtag importing.

  8. Samuel says:

    Sorry Ozh, I didn't see the FAQ :)

    It's ok, good point about the economize queries.

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
Gravatars: Curious about the little images next to each commenter's name ? Go to Gravatar and sign for a free account
Spam: Various spam plugins may be activated. I'll put pins in a Voodoo doll if you spam me.

Read more ?