Use full URL as ID to prevent duplicate tweets instead of just the tweet ID.
Use phpFlickr to get photo title (and truncate the title if it's too long), generate better Flickr photo URL.