The Twitter card is not shown when I am trying to share it but on the validator, I am able to see a card with an image and title.
Default meta tags:
<meta property="twitter:title" content="PartnerHub Digital-Talk" />
<meta property="twitter:image" content=""/>
<meta name="twitter:card" content="summary" />
Meta tags after page load.
<meta property="twitter:title" content="ABB Connect Partner Hub" name="twitter:title">
<meta property="twitter:image" content="https://sitecore-ph-dev-single.azurewebsites.net/-/media/Project/ABB/Digital-Talk/Video-Images/ABB_Connect_Partner_Hub_Generisch/ABB_Connect_Partner_Hub_Generisch02.jpg" name="twitter:image">
<meta name="twitter:card" content="summary">
Sometimes a card is shown on the Twitter share, but with old meta tags(default meta tags) not with updated meta tags. The meta tags are updated on page load, on page source I m able to see updated meta tags.
I m not getting whats the issue. Is it cache issue? Please help me to resolve this.
If these are being added by JavaScript when the page is loaded, then the card crawler will not be able to see them, as it does not execute JS. This is covered in the troubleshooting post and page for Cards.
I am using angular server-side rendering to update meta tags. But I am able to the Twitter card on a Twitter card validator. But on share from a website sometimes the card appears and sometimes not, though meta is updated in each case.
system
Closed
#4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.