edge icon indicating copy to clipboard operation
edge copied to clipboard

Linksharing: Open Graph meta tags

Open mobyvb opened this issue 10 months ago • 1 comments

Currently, when a linksharing link is shared on social media, there is no preview image, or other information that would make the shared link more eye-catching.

This should be easy to solve by adding Open Graph meta tags.

AC:

  • Add og:title meta tag to file share <head> code with content set to the filename
  • If an image preview is possible, add og:image meta tag to file share <head> code with content set to the path of the preview. For an image, this would be the same page, but with the query param ?download=1 set

mobyvb avatar Apr 23 '24 20:04 mobyvb

It got already implemented see

But there is a bug when using it on custom domains. If a custom domain is used then they still generate link.storjshare.io url’s to a 404 response.

Example: https://mydomain.test/2024-29/T11187a.png?wrap

will include for the og:image and twitter:image html meta tags the url: https://link.storjshare.io/raw/my-bucket/2024-29/T11187a.png?v=ab52919 and it returns 404

I reported it also in the forum here

Zetanova avatar Jul 18 '24 09:07 Zetanova