Weird OpenGraph behaviour

aimeeandbeatles

watermelon
Joined
Apr 5, 2007
Messages
20,112
If you link to a specific post, the og:image links correctly to the user avatar, but the og:description instead takes text from the first post on the page:

Code:
<link rel="canonical" href="https://forums.civfanatics.com/threads/random-raves-110010-vast-hordes-of-toilet-paper.656217/page-26" />
<meta name="description" content="That's the spirit. :)" /> <meta property="og:site_name" content="CivFanatics Forums" />
<meta property="og:image" content="https://forums.civfanatics.com/data/avatars/m/113/113861.jpg?1586113581" />
<meta property="og:image" content="https://forums.civfanatics.com/images/icons/civfanatics_icon_og_256x256.png" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://forums.civfanatics.com/threads/random-raves-110010-vast-hordes-of-toilet-paper.656217/" />
<meta property="og:title" content="Random Raves 110010: Vast Hordes of Toilet Paper" />
<meta property="og:description" content="That's the spirit. :)" />

This messes up Discord rich embeds, for instance:

lN3P4S3.png


I'm not sure if this is fixable, but I thought I'd bring it to attention.
 
Back
Top Bottom