FixTweet icon indicating copy to clipboard operation
FixTweet copied to clipboard

Add support for Twitter Article

Open barraIhsan opened this issue 1 year ago • 3 comments

For example: https://twitter.com/VALORANT/article/1805586901141012870 https://twitter.com/VALORANT/status/1805586901141012870

For the embed, probably just copy from what we have with image post embed (because afaik article need an image)

barraIhsan avatar Jun 25 '24 18:06 barraIhsan

This would be really interesting, because it'd mean we could also predict a twitter post's title, which isn't possible for other posts but articles

TimDaub avatar Nov 08 '24 19:11 TimDaub

Hey @dangeredwolf any way I can help to get this going?

TimDaub avatar Dec 02 '24 15:12 TimDaub

@TimDaub Do you think that Twitter articles should be automatically unrolled in the internal FixTweet API? i.e. text field contains the whole article contents.

This would be really cool to implement especially with Telegram Instant View support, you could see the entire article without leaving the app

At the moment, we need:

  • Code to handle fetching the Twitter article from its GraphQL
  • Deal with formatting (the way we handle things doesn't really work well with bold, italics, and such in mind)
  • Related, dealing with inline images (and videos if those are supported too)
  • Rendering for telegram instant view (which i think is the most useful application for this since Discord embeds are small)

I don't pay for X Premium so it would be quite useful if someone made a test post with all of the different formatting features to test against.

dangeredwolf avatar Jan 28 '25 11:01 dangeredwolf