|
Project Information
Featured
Downloads
Links
|
Archive your tweets to easily browse and search them - all on your own website and in your control. See an example installation on my website: http://amwhalen.com/twitter/. Installation
Getting Twitter API Tokens
Profile PictureYou can replace the file img/avatar.png with your own profile picture. It should be sized at 73x73 pixels. If you want to use a different file name, just change the location of the image in the index.php file. Setting Up a Cron JobIf you want to automatically update your tweets you'll need to set up a cron job. You can find more information on Cron elsewhere, but here's an example that uses wget to visit your cron.php every hour of the day: 0 * * * * /usr/bin/wget -O - -q -t 1 http://example.com/tweets/cron.php?secret=MY_SECRET The "secret" is so that only you can run the cron script instead of just any visitor. This will protect your Twitter API limit (350 requests per hour), which is tied to your username. If you don't have wget installed on your server, you could try to use cURL instead: 0 * * * * /usr/bin/curl --silent --compressed http://example.com/tweets/cron.php?secret=MY_SECRET FAQ
|