twitter_api.py updated