Some Twitter stuff useful for other projects