Description of issue:
The validator is showing my card markup as valid and the image is not showing. We have had received issue from 31.1.
URL affected (must be public):
or different domain
1 Like
The below tags look fine. Can you try a workaround with the image URL:
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:site" content="@Seznam_Zpravy"/>
<meta name="twitter:title" content="Soudkyně nabídla Kvitové, že by se u soudu nemusela potkat s obžalovaným. Ten ale nesouhlasí - Seznam Zprávy"/>
<meta name="twitter:description" content="U Krajského soudu v Brně bude v úterý vypovídat tenistka Petra Kvitová."/>
<meta name="twitter:image" content="https://d39-a.sdn.szn.cz/d_39/c_img_G_M/UEgk1.jpeg?fl=cro,0,0,1280,720|res,1200,,1|jpg,80,,1"/>
Try
<meta name="twitter:image" content="https://d39-a.sdn.szn.cz/d_39/c_img_G_M/UEgk1.jpeg"/>`
Instead of:
<meta name="twitter:image" content="https://d39-a.sdn.szn.cz/d_39/c_img_G_M/UEgk1.jpeg?fl=cro,0,0,1280,720|res,1200,,1|jpg,80,,1"/>
Hi Rami,
you are right - problem is with unencoded pipe character. We also discovered that problem appears only if twitter goes through IPv6. Our admins did some changes on our DNS servers recently, so maybe IPv6 is now prefered.
So solution / hotfix is url encoding of image URL. But I don’t understand why IPv4 works and IPv6 don’t.
We fixed that issue with encoding image url. The solution work for both IPv4 and IPv6.
system
Closed
#5
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.