Twitter Cards not Displaying


#1

Hi, have a simple WordPress site that I like to post photos to and I would like to use Twitter Cards to have my photos show up in my tweets. I used WordPress SEO to set Twitter Cards up and have tested, and validated the following URL:

http://jamesmcwhorter.com/2015/05/moonbow-at-cumberland-falls-kentucky/

For the life of me I cannot get the twitter card to show on the following tweet!

https://twitter.com/JamesMcWhorter/status/596321418385575936

Any suggestions would be great appreciated!

Markup

<link rel="canonical" href="http://jamesmcwhorter.com/2015/05/moonbow-at-cumberland-falls-kentucky/"/>
<link rel="publisher" href="https://plus.google.com/u/0/118221037112465016479/posts"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:type" content="article"/>
<meta property="og:title" content="Moonbow at Cumberland Falls Kentucky | James McWhorter"/>
<meta property="og:url" content="http://jamesmcwhorter.com/2015/05/moonbow-at-cumberland-falls-kentucky/"/>
<meta property="og:site_name" content="James McWhorter"/>
<meta property="article:publisher" content="https://www.facebook.com/JamesWMcWhorter"/>
<meta property="article:tag" content="Cumberland Falls,Moonbow"/>
<meta property="article:section" content="Photos"/>
<meta property="article:published_time" content="2015-05-03T23:31:01+00:00"/>
<meta property="article:modified_time" content="2015-05-06T23:31:56+00:00"/>
<meta property="og:updated_time" content="2015-05-06T23:31:56+00:00"/>
<meta property="fb:admins" content="706985422"/>
<meta property="og:image" content="http://jamesmcwhorter.com/wp-content/uploads/2015/05/Moonbow-at-Cumberland-Falls-Kentucky.jpg"/>
<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:title" content="Moonbow at Cumberland Falls Kentucky | James McWhorter"/>
<meta name="twitter:site" content="@JamesMcWhorter"/>
<meta name="twitter:domain" content="James McWhorter"/>
<meta name="twitter:image:src" content="http://jamesmcwhorter.com/wp-content/uploads/2015/05/Moonbow-at-Cumberland-Falls-Kentucky.jpg"/>
<meta name="twitter:creator" content="@JamesMcWhorter"/>
<script type='application/ld+json'>{"@context":"http:\/\/schema.org","@type":"WebSite","url":"http:\/\/jamesmcwhorter.com\/","name":"James McWhorter"}</script>
 
<meta property="og:title" content="Moonbow at Cumberland Falls Kentucky"/><meta property="og:type" content="article"/><meta property="og:url" content="http://jamesmcwhorter.com/2015/05/moonbow-at-cumberland-falls-kentucky/"/><meta property="og:site_name" content="James McWhorter"/><meta property="og:description" content=""/><meta property="og:image" content="http://jamesmcwhorter.com/wp-content/uploads/2015/05/Moonbow-at-Cumberland-Falls-Kentucky.jpg"/> <script type="text/javascript">
			window._wpemojiSettings = {"baseUrl":"http:\/\/s.w.org\/images\/core\/emoji\/72x72\/","ext":".png","source":{"concatemoji":"http:\/\/jamesmcwhorter.com\/wp-includes\/js\/wp-emoji-release.min.js?ver=4.2.2"}};
			!function(a,b,c){function d(a){var c=b.createElement("canvas"),d=c.getContext&&c.getContext("2d");return d&&d.fillText?(d.textBaseline="top",d.font="600 32px Arial","flag"===a?(d.fillText(String.fromCharCode(55356,56812,55356,56807),0,0),c.toDataURL().length>3e3):(d.fillText(String.fromCharCode(55357,56835),0,0),0!==d.getImageData(16,16,1,1).data[0])):!1}function e(a){var c=b.createElement("script");c.src=a,c.type="text/javascript",b.getElementsByTagName("head")[0].appendChild(c)}var f,g;c.supports={simple:d("simple"),flag:d("flag")},c.DOMReady=!1,c.readyCallback=function(){c.DOMReady=!0},c.supports.simple&&c.supports.flag||(g=function(){c.readyCallback()},b.addEventListener?(b.addEventListener("DOMContentLoaded",g,!1),a.addEventListener("load",g,!1)):(a.attachEvent("onload",g),b.attachEvent("onreadystatechange",function(){"complete"===b.readyState&&c.readyCallback()})),f=c.source||{},f.concatemoji?e(f.concatemoji):f.wpemoji&&f.twemoji&&(e(f.twemoji),e(f.wpemoji)))}(window,document,window._wpemojiSettings);
		</script>

#2

Sorry for trouble.

All tags look OK. Often there are host issues – can you look at this and see if the IPs are whitelisted and the ASNUM is OK?

https://dev.twitter.com/docs/cards/troubleshooting#caching

If you have other issues, please let us know here!


#3

Thank for you the quick reply. I’ve asked DreamHost to weigh in on this.

Also, I’m using CloudFlare. Do you think that might have something to do with it as well?


#4

Update:

For posts that have a photo gallery in them the gallery card is detected and it displays the card.

https://twitter.com/JamesMcWhorter/status/596360206784794626

https://twitter.com/JamesMcWhorter/status/596362095932878848

For a single photo the"summary_large_image" tag is found and the card is not displayed.

https://twitter.com/JamesMcWhorter/status/596362095932878848

#5

Running through validator, i’m getting a missing twitter:description error on that second URL:

http://jamesmcwhorter.com/2015/05/moonbow-at-cumberland-falls-kentucky/

Try it here:

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


#6

This topic was automatically closed after 24 hours. New replies are no longer allowed.