Replacing for loop in twitter_get(...) with call to urllib.urlencode. Should help with escaping weird characters.