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' is undocumented on API.user_timeline but works

See original GitHub issue

API.user_timeline does not state that tweet_mode is a valid parameter, but when I used it (tweet_mode=extended), it returned the tweets with the full_text attribute.

It works perfectly, it’s just undocumented.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
zheyuyecommented, Jun 17, 2019

Thanks, that solved my issue of truncated text fields with tweet_mode='extended'

1reaction
DGaffneycommented, Jun 28, 2021

This does not appear to work as of June 2021 - running it on user_timeline returns truncated texts every time. Should it not? Currently on version 3.10.0.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Does tweet_mode=extended work with the Twitter statuses ...
Yes, you can use tweet_mode with the statuses/user_timeline API. ... In short, if a tweet is a retweet, the extended tweet must be...
Read more >
Sometimes, the hashtags node is empty in statuses/user_timeline ...
I read the hashtag node in the statuses/user_timeline.json api call to achieve this. ... Have you set the tweet_mode=extended parameter on your API...
Read more >
[Fixed]-How do you get the "images" from a twitter feed to show in an ...
With tweet_mode set to extended ( tweet_mode is an undocumented parameter), it will now return the media as part of the response.. This...
Read more >
twitter.api — python-twitter 3.4.2 documentation
2016) extended tweet mode. See docs for details. Choices are ['compatibility', 'extended']. proxies (dict, optional): A dictionary of proxies for the ...
Read more >
python-twitter Documentation - Read the Docs
In order to use the python-twitter API client, you first need to acquire a ... that you have pyenv installed and working on...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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