twitter_scraping icon indicating copy to clipboard operation
twitter_scraping copied to clipboard

full_text

Open shaharyar2643 opened this issue 8 years ago • 3 comments

The code works fine except it doesn't show extended text. Is there a way around to get the full text.

shaharyar2643 avatar Mar 27 '18 04:03 shaharyar2643

You have to add a kwarg to api.status_lookup in get_metadata.py:

tweets = api.statuses_lookup(id_batch, tweet_mode='extended')

Li357 avatar Jun 30 '18 17:06 Li357

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'

jason-lange avatar Oct 19 '18 19:10 jason-lange

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.

victoriateo avatar Dec 09 '18 01:12 victoriateo