WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Twitter cards - description missing in meta, twitter won't display card (2 posts)

  1. Amy
    Member
    Posted 4 months ago #

    I noticed this a while ago but finally sat down to troubleshoot. Twitter has not been showing my product cards for some time (it was working). I looked at my source code and discovered the required description is missing:

    http://albertasoapcompany.com/catalog/handmade-bar-soap/almond-pastries-handmade-soap/
    <meta name="twitter:site" content="@amy_e_garrett"/>
    <meta name="twitter:domain" content="Alberta Handmade Soap Co."/>
    <meta name="twitter:creator" content="@amy_e_garrett"/>
    <meta name="twitter:image:src" content="http://albertasoapcompany.com/wp-content/uploads/2013/11/almond3.jpg"/>
    <meta name="twitter:domain" content="Alberta Handmade Soap Co."/>
    <meta name="twitter:label1" content="Price"/>
    <meta name="twitter:data1" content="$ 5.99"/>
    <meta name="twitter:label2" content="In stock"/>
    <meta name="twitter:data2" content="Yes"/>

    It seems it won't show until the description is added back; but maybe there is another issue.
    https://dev.twitter.com/docs/cards/types/product-card

    My twitter account is amy_e_garrett - links from december work: https://twitter.com/amy_e_garrett/status/414249068517285888
    But recent links do not:
    https://twitter.com/amy_e_garrett/status/445579490765197312

    https://wordpress.org/plugins/wordpress-seo/

  2. jrf
    Member
    Posted 4 months ago #

    Twitter in their own guidelines says that they will fall back on open-graph data if there's a key missing, so to avoid a lot of duplications, if OG is enabled, the keys which would exist in both are only added to OG. This *should* work according to Twitters own developers guidelines.

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.