Add tweet_mode parameter
See original GitHub issueIs your feature request related to a problem? Please describe.
The statusesUserTimeline
(and possibly other endpoints) supports a tweet_mode
parameter. Such value can be extended
which allows the full text content of the tweet, and it’s hashtags, to be returned in the response.
Describe the solution you’d like
Update the typings to support the extended response structure, as well as adding tweet_mode
to the supported args for tweets.statusesUserTimeline
function.
Describe alternatives you’ve considered
For the moment, using //@ts-ignore
prevents warnings about invalid parameters and response fields.
Additional context
Sample API response: https://gist.github.com/ChronSyn/f215c96aedfd56b2d7085f4b0f1f4b02
Issue Analytics
- State:
- Created 3 years ago
- Comments:9 (2 by maintainers)
Top Results From Across the Web
API documentation: tweet_mode parameter - Twitter Developers
Hi all, Apologies if I've missed something here, but I wanted to bring attention to the tweet_mode parameter for the endpoints that retrieve ......
Read more >r - Cannot pass tweet_mode = 'extended' parameter to API in ...
1 Answer 1 ... In the source code for searchTwitter() there doesn't appear to be a parameter for tweet_mode . ... The search_tweets...
Read more >Extended Tweets — tweepy 4.12.1 documentation
API method that returns a Status object accepts a new tweet_mode parameter. Valid values for this parameter are compat and extended , which...
Read more >Extended Tweets — Tweetinvi 5.0.4 documentation
Twitter introduced a TweetMode parameter that is either compat or extended . ... When set to null , Tweetinvi will not add the...
Read more >Parameter reference | Docs | Twitter Developer Platform
Customize an embedded timeline with data-* attributes added to a fallback anchor element or passed to a JavaScript factory function in an options...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top 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
Added in v. 1.0.3
Sorry for the late reply! Let’s look into a more generic approach at a later point. I think how you handled it in the PR is great for now.