tweet_mode=extended for statuses_lookup
See original GitHub issueI used statuses_lookup
to get specific tweets.
But with a recent change of Twitter to have also extended tweets
does the REST API only return a compacted version for these tweets.
The Twitter API now supports a parameter tweet_mode=extended
to return not only the compacted version but also the extended one.
#785 does reference that it is currently not possible to use this parameter with statuses_lookup
What needs to be changed to add tweet_mode=extended
support to statuses_lookup
?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:6
- Comments:15 (3 by maintainers)
Top Results From Across the Web
Extended Tweets — tweepy 4.12.1 documentation
When using extended mode, the text attribute of Status objects returned by tweepy.API methods is replaced by a full_text attribute, which contains the...
Read more >Retreive tweet full text when tweet_mode is extended #878
However I solved my problem, tweet mode = 'extended', only works with tweet.full_text mode. In the normal method, it will generate the described ......
Read more >tweepy: truncated tweets when using tweet_mode='extended'
search_tweets = api.search('trump',count=1,tweet_mode='extended') for tweet in search_tweets: if 'retweeted_status' in tweet.
Read more >Twitter API: Premium data dictionary | Docs
The "extended_tweet" object provides the "full_text" field that contains the complete, untruncated Tweet message when longer than 140 characters. The " ...
Read more >Tweepy Extended - Twitter API v2
check the tweets for status.extended_tweet["full_text"] Extended Tweets — tweepy 4.10.1 documentation it should be in there.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve submitted a PR to resolve this: #926 - not sure who’s maintaining this repo, but hope the change gets accepted soon!
This should now be resolved in 3.7.0 with https://github.com/tweepy/tweepy/commit/c997ee7fbeecc6ecc4da387a8f4c69b72a88893f (#926).