question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tweet_mode=extended for statuses_lookup

See original GitHub issue

I 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:closed
  • Created 7 years ago
  • Reactions:6
  • Comments:15 (3 by maintainers)

github_iconTop GitHub Comments

7reactions
walmsleycommented, Sep 11, 2017

I’ve submitted a PR to resolve this: #926 - not sure who’s maintaining this repo, but hope the change gets accepted soon!

2reactions
Harmon758commented, Dec 7, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found