codu icon indicating copy to clipboard operation
codu copied to clipboard

Fix Twitter( X.com ) card previews not displaying correctly when sharing links.

Open John-Paul-Larkin opened this issue 1 year ago • 2 comments

Context

When sharing an article link from codu.co on x.com, the preview image does not appear in the card. Instead, a placeholder for an image is shown. This issue seems to be related to the Open Graph (OG) metadata tags on the website, which might not be set up properly or are being misread.

Expected Behavior

The social media post should display the relevant image from the Open Graph metadata on the article page.

Screenshots

Screenshot 2024-09-28 at 15 18 18

Additional info

Verify that the correct Open Graph tags, particularly og:image, are set in the HTML of the page. Ensure that the image being referenced is publicly accessible and the URL is correct.

John-Paul-Larkin avatar Sep 28 '24 14:09 John-Paul-Larkin