Open shaharyar2643 opened 6 years ago
You have to add a kwarg to api.status_lookup
in get_metadata.py
:
tweets = api.statuses_lookup(id_batch, tweet_mode='extended')
Anyone have more more specific coding for how to add a kwarg to api.status_lookup in get_metadata.py? When I modify the line: tweets = api.statuses_lookup(id_batch) so that it reads: tweets = api.statuses_lookup(id_batch, tweet_mode='extended') I get a typeError: statuses_lookup() got an unexpected keyword argument 'tweet_mode'
I had the same issue as jason-lange.
You just need to pip uninstall tweepy in your command line, then pip install tweepy.
It worked for me! For more details, see https://github.com/tweepy/tweepy/issues/840.
The code works fine except it doesn't show extended text. Is there a way around to get the full text.