Skip to content

Add Twitter Meta Tags #49871

Description

@solonovamax

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
Currently, Nextcloud does not use any twitter meta tags.
This causes embeds/link previews on sites that use those tags to not look as nice, specifically when sharing a link to an image.

For example, on twitter:
Image
or on discord:
Image

In this (preview for a) post, the url https://nextcloud.solonovamax.gay/s/4k7ykyBZWtsozBy is linked. I would expect that it renders a large thumbnail showing the full image, rather than just a small thumbnail.

Describe the solution you'd like
Adding the twitter:card meta tag with the value of summary_large_image when linking to an image.

Here's how I would expect it to look on discord (This was created using a "discord embed editor", plus a couple of changes to the css/html to have to look similar, which is why certain elements may not look identical):
Image

Describe alternatives you've considered
Not adding the twitter:card meta tag.

Additional context
N/A

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions