How to Install Twitalytic on DreamHost
Posted: August 22nd, 2009 | Author: Jordan | Filed under: Tech | 6 Comments »
One of my biggest frustrations with Twitter is that archives only go back 3,200 tweets, meaning that for now the entire first half of my Twitter history is totally inaccessible to me and everyone else. So I was pretty excited when blogger and hacker Gina Trapani announced her then-unnamed Twitalytic project.
Twitalytic—which Gina released as an alpha this week—is a PHP application that combats the disappearing tweet problem by archiving your tweets, plus all replies to them and all mentions of your Twitter name, and along the way aggregates meaningful data about your relationships, all on your own server.
Of course I set it up as soon as I got a chance. I could have installed it on one of my home machines, but I decided to put it on my public web space, which happens to be hosted on the cheap by DreamHost (disclosure: affiliate link). Being alpha software and pretty untested, setting Twitalytic up on DreamHost didn’t go entirely smoothly, but I got it working eventually. Since I’m sure others are struggling with the same task, I wrote up the method I used to get it working:
How to install Twitalytic on DreamHost.
I posted the instructions on Twitalytic’s GitHub wiki because I want other people to be able to improve and correct them, so if you see any errors or potential clarifications or simplifications, please edit the article and improve it.
P.S. Gina enthusiastically thanked me for posting the tutorial, but it’s worth quoting what she wrote on the Twitalytic home page: “Do not run on a public, production server. You have been warned.” Nevertheless, if you’re as determined to set it up as I was (and perhaps as foolish), I hope my instructions are useful to you.
Post Revisions:
- 8 September, 2009 @ 16:35 [Current Revision] by Jordan
- 22 August, 2009 @ 1:33 by Jordan
- 22 August, 2009 @ 1:32 by Jordan
- 22 August, 2009 @ 1:31 by Jordan
- 22 August, 2009 @ 1:26 by Jordan
Hello! Thanks for the tutorial on installing twitalyic on a dreamhost acount.
When creating the symbolic link I run the command as shown and it appears to work, meaning I’m not given any error messages, but when I try to cd into the tweets directory I get “No such file or directory” message. If I cd into the twitaliyc/webapp directory I can see the link created there.
Maybe you can point me in the right direction?
I’m not sure, Chris. I just noticed that in the tutorial I typed “webapps” a few times when it should have been “webapp.” Perhaps that caused you to mistype it as well?
I can’t do step 10 because something seems to be wrong with my symbolic link. Firefox just gives me a 404 Not found message. I’m not sure what might be the problem? None of the other steps had any problems.
Sorry, other Chris–I’m not sure what the problem is. Probably the tutorial should be redone without the symlinks, they seem to trip a few people up.
I corrected the symbolic link code on the Wiki – it needed to be the other way round.
i.e. ln -s ~/webapp ~/yourdomain.com/tweets
But I still get a forbidden error
I use Backupify for my backups. It does Twitter, Gmail, Flickr and some others.
Though I’m all about setting stuff up on my own. Sometimes it’s easier to just use a pre-made solution for the issue.