codu
codu copied to clipboard
Fix Twitter( X.com ) card previews not displaying correctly when sharing links.
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
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.