Yoast SEO
Invalid Markup Twitter Card metas - solution (4 posts)

  1. javiarques
    Posted 3 years ago #

    Applied W3C valid standards syntax to +Twitter Cards. Valid by W3C and Twitter Cards Preview.

    <meta name=twitter:card value=summary> syntax changed to
    <meta property=twitter:card content=summary>

    * The issue was cased on non-standard name attribute values.
    * The Twitter Cards updated syntax had already corrected attribute value to content.

    twitter:url changed to og:url, since og:url is wide recognized Open Graph protocol standard.
    Added twitter:site to improve the snippet visual appearance.

    Please, could you include this fixed on the next release?

    Thank you


  2. techloverhd
    Posted 3 years ago #

    I'm looking for kind of same info. I want to remove them from my site. Just only the twitter meatadata as w3c validator is marking them invalid.
    I tried unchecking the tick box but didn't work. :(

  3. joycegrace
    Posted 3 years ago #

    Hello, is this why when I apply for a Twitter meta card it now says it is an "invalid card type"? See screenshot: http://d.pr/i/gKLU

    Did Twitter change their application process? I am using the Yoast plugin to set this up and when I apply for a card, it wants me to pick a card type. So I select "summary" (because I read that the plugin pulls "summary" as a default) and then when I enter the URL, it says it is an invalid card type. I tried it with other card types as well. Do you know if this is a problem with the Yoast plugin or something I could be doing to change this somewhere? Can you tell me what files to change and where? Thanks!

  4. LorisGuemart
    Posted 3 years ago #

    @joycegrace :

    Having the same problem than you, asking the same question to the developers (and thanks for the plugin by the way).

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.