Despite following all of the examples, I cannot get any of my client’s Twitter Cards to match the examples given by Twitter. For example, when I specify the following meta tags:
<meta name="twitter:card" value="summary_large_image" />
<meta name="twitter:title" value="Latest pics from Katoeys 'Are' Us (@KatoeysAreUs)" />
<meta name="twitter:description" value="Visit our web site for more great pics and vids! https://www.katoeys-are-us.com - and be sure to Follow us here at @KatoeysAreUs !" />
<meta name="twitter:image" value="https://dz41sfzqwj7uf.cloudfront.net/uploads/photo/image/352/medium_17880675_455721771440690_7448460371250011230_o_1492714949.jpg" />
<meta name="twitter:site" value="@KatoeysAreUs" />
and insert the following Javascript:
<script>window.twttr = (function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0],
t = window.twttr || {};
if (d.getElementById(id)) return t;
js = d.createElement(s);
js.id = id;
js.src = "https://platform.twitter.com/widgets.js";
fjs.parentNode.insertBefore(js, fjs);
t._e = [];
t.ready = function(f) {
t._e.push(f);
};
return t;
}(document, "script", "twitter-wjs"));</script>
And after successfully validating the following URL: https://www.katoeys-are-us.com/photos/352, I have a tweet that does not show the correct twitter:site, only the Twitter ID of the poster. The Twitter Card Validator indicates that it finds 12 meta tags (of which 5 are specific to Twitter) - is it possible that some of the other meta tags may be overriding/interfering with them?
Has anyone else run into this issue?