echofox-team / echofon-firefox-unofficial

Echofon Unofficial - maintained version of Echofon: full featured, super clean Twitter app for Firefox.
http://echofox-team.github.io/echofon-firefox-unofficial/
69 stars 10 forks source link

New feature where photos/videos don't use up characters doesn't display properly #65

Closed TigerNightmare closed 7 years ago

TigerNightmare commented 7 years ago

Twitter recently updated so that users can tweet photos and still have all 140 characters. But this breaks the appearance of tweets that exceed 140 characters with the image URL included.

Before, Echofon would show the text with the photo URL at the end, plus a clickable square thumbnail of the picture. Now, it looks similar to comment retweets, only with the excess text at the end truncated with ellipses and then a unique URL in this format: https://twitter.com/i/web/status/(unique tweet ID number)

The number at the end is the same as the tweet of the original account and it looks like the extra text and photo URL are stored at that address and Twitter just loads those at the end so it looks seamless.

truncation The full URL that Echofon displays is https://twitter.com/i/web/status/778438931347939328, which matches the tweet URL. Clicking on this link doesn't redirect to the tweet URL, but it looks identical as if it did.

YoruNoHikage commented 7 years ago

I can confirm I encountered this behavior. I just hope there is another property we can use in the Twitter API to get the full tweet but I don't see one...

EDIT: Found https://dev.twitter.com/overview/api/upcoming-changes-to-tweets where it explains how to retrieve the complete tweet, anyone interested in submitting PR?

YoruNoHikage commented 7 years ago

Fixed with #70