top | item 44589519

(no title)

ceautery | 7 months ago

LinkedIn is by far the worst offender in post previews. The doctype tag must be all lowercase. The HTML document must be well-formed (the meta tags must be in an explicit <head> block, for example). You must have OG meta tags for url, title, type, and image. The url meta tag gets visited, even if it's the same address the inspector is already looking at.

Fortunately, the post inspector helps you suss out what's missing in some cases, but c'mon, man, how much effort should I spend helping a social media site figure out how to render a preview? Once you get it right, and to quote my 13 year old: "We have arrived, father... but at what cost?"

discuss

order

EPendragon|7 months ago

I had to discover the Post Inspector tool which was very helpful as it provided error messages.

I didn't know that about the doctype tags. I must have had them right from the beginning. Didn't encounter those issues. It good to know though.