Cleaned up function and made it tweet about socode.