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

Add support for Twitter Article #867

Open
barraIhsan opened this issue Jun 25, 2024 · 3 comments
Open

Add support for Twitter Article #867

barraIhsan opened this issue Jun 25, 2024 · 3 comments
Labels
embeds This issue affects embeds on one or more platforms enhancement New feature or request

Comments

@barraIhsan
Copy link

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)

@dangeredwolf dangeredwolf added enhancement New feature or request embeds This issue affects embeds on one or more platforms labels Jun 25, 2024
@TimDaub
Copy link

TimDaub commented Nov 8, 2024

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
Copy link

TimDaub commented Dec 2, 2024

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

@dangeredwolf
Copy link
Member

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
embeds This issue affects embeds on one or more platforms enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants