Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Many tweets are truncated #67

Closed
tmthywynn8 opened this issue May 6, 2017 · 4 comments
Closed

Many tweets are truncated #67

tmthywynn8 opened this issue May 6, 2017 · 4 comments
Assignees

Comments

@tmthywynn8
Copy link

@tmthywynn8 tmthywynn8 commented May 6, 2017

I notice that many tweets. especially if they are long replies, are now being truncated when reading tweets with The Qube. It of a format similar to:
This is a tweet, and it is truncat… https://twitter.com/i/web/status/

Not sure if there's a possibility of fixing this, but I figure I'd report it just in case. I'm using The Qube commit e19fc16,though I'm sure it exists among earlier versions as well.

@Menelion Menelion self-assigned this May 6, 2017
@Menelion Menelion added enhancement and removed enhancement labels May 6, 2017
@Menelion
Copy link
Collaborator

@Menelion Menelion commented May 6, 2017

@manuelcortez
Copy link
Contributor

@manuelcortez manuelcortez commented Sep 21, 2017

Hi,

I think this article may be useful. Basically you can request for "extended tweets" in the API calls (by passing mode="extended"). Twitter will send you tweets with another key, "full_text", wich will contains the not trunkated version of the tweet.

@Menelion
Copy link
Collaborator

@Menelion Menelion commented Sep 21, 2017

@manuelcortez, thanks! As far as I understand, I need to check whether that key exists, and if it is not there, provide usual tweet text, am I right?

@manuelcortez
Copy link
Contributor

@manuelcortez manuelcortez commented Sep 21, 2017

Yea, that's true. If tweet.has_key("full_text") == False, then displays the normal tweet text. Also, take into account that you can find tweets like tweet["retweeted_status"]["full_text"] provided by the API

@Menelion Menelion closed this in 80b056c Nov 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.