FixTweet / FxTwitter

Fix broken Twitter/X embeds! Use multiple images, videos, polls, translations and more on Discord, Telegram and others
https://fxtwitter.com
MIT License
2.62k stars 77 forks source link

Support individual multimedia links in multimedia posts #96

Closed LeviSnoot closed 1 year ago

LeviSnoot commented 2 years ago

Similar to #95, but in the case where I want to append for example /video/2 (and even https://d.twittpr.com/.../video/2.mp4) to a URL in order to only embed the video in the post it does not appear to work.

dangeredwolf commented 2 years ago

yeah, because of the way FixTweet structures and separates media data it makes it a bit quirky now that Twitter is mixing media types. So we'll probably need to rework some things internally to improve this.

dangeredwolf commented 1 year ago

I went to tackle this issue again, rewrote a bunch of FixTweet's media handling code in an effort to streamline it and make this easier to fix.... buuuut it turns out I underestimated the issue. Twitter isn't even sending us multiple videos. I might have to migrate the entire API fetch system to graphql, not looking forward to doing that 💀

SpiritAxolotl commented 1 year ago

rippp

dangeredwolf commented 1 year ago

This appears to have been resolved at some point after we moved to GraphQL API. media.all in our API returns photos, videos, and gifs in the order they appear on Twitter, and direct media redirects also appear to work. Closing for now, but if you are still encountering this issue, please give an example URL and I can take a look!