• Resolved Oli

    (@oliverjdb)


    Hi all.

    I’ve set up the Twitter cards and used the Twitter card validator which gives me this report:

    https://cards-dev.twitter.com/validator

    ERROR: No card found (Card error)

    I’ve checked the source code and CAN see the Twitter card meta. I have no idea why I’m getting the error.

    Can you help please?

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support amboutwe

    (@amboutwe)

    After reviewing the source code for the page in question, your site outputs a large block of stylesheet (CSS) in the header of the page. I’ve seen a few cases where this feature causes weird behaviors with Facebook and Twitter. It seems they only process so many lines looking for tags before returning a no tag or missing tag message.

    This feature is usually part of a cache, auto-optimization or security plugin. Does disabling this feature and clearing cache allow Twitter to see the meta tags?

    Thread Starter Oli

    (@oliverjdb)

    You nailed it.

    I use Autoptimize and had a box ticked for ‘inline CSS’ (or similar). I just unticked it and now the social previews are all working.

    For anyone interested, this change did not negatively impact my page load speed when assessed using GTmetrix.

    So, great result.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error Twitter card not found (but is in source code)’ is closed to new replies.