Twitter cards validator or How to show images in tweets

Discussion in 'Twitter' started by Gabriela Cordero, Aug 18, 2017.

  1. #1
    Hi,
    I have a wordpress site with social media links in each entries. Twitter is the only social media that don't show the default image. For to correct this I installed Yoast SEO, a plugin that help to built a Twitter card for to show the image. With this, I had to insert a meta tags code in <head> template section, like here https://dev.twitter.com/cards/types/summary-large-image
    For to see if this is working I have to test it in Twitter card validator , in https://cards-dev.twitter.com/validator, but the system says "ERROR: Required meta tag missing (twitter:text:description)"
    Really in <head> code, the twitter:text:description in twitter site is exemplified like "

    <meta name="twitter:description" content="NEWARK - The guest list and parade of limousines with celebrities emerging from them seemed more suited to a red carpet event in Hollywood or New York than than a gritty stretch of Sussex Avenue near the former site of the James M. Baxter Terrace public housing project here.">"

    but really in my site this is

    <meta name="twitter:description" value="<?php echo $twitter_desc; ?>">

    I don't know if this is correct. I only know "NEWARK - The guest list and parade of limousines with ...", etc., is a text for example and I need a dynamic text for each article.

    Can someone help me?
     
    Gabriela Cordero, Aug 18, 2017 IP