Twitter Cards display information for different pages

cards

#1

Twitter is displaying the wrong card for given URL’s, but they redirect to the correct URL.

Example:

Tweet: https://twitter.com/swimswamnews/status/772600296388358144

Card on Twitter: Card

Article URL: https://swimswam.com/calvyn-justus-gets-olympicink-plus-lion-clubs-video/

Twitter Metadata on the page:

<meta name="twitter:card" content="summary_large_image"/>
<meta name="twitter:description" content="Swimming South Africa&#8217;s Calvyn Justus is our sport&#8217;s resident Youtube vlogger, with over 45,000 subscribers and nearly 3 million views, and we..."/>
<meta name="twitter:title" content="Calvyn Justus Gets His #OlympicInk, Plus Lion Clubs! (Video)"/>
<meta name="twitter:site" content="@swimswamnews"/>
<meta name="twitter:image" content="https://cdn.swimswam.com/wp-content/uploads/2016/09/Screen-Shot-2016-09-04-at-10.31.25-AM.png"/>
<meta name="twitter:creator" content="@HannahHecht"/>

Twitter Cards display metadata from wrong URL
#2

Does anyone have any idea how this problem can be approached? Or how I can get support regarding this?


#3

I am struggling to make sense of what is happening here, because our crawler is definitely fetching the right page / URL, but getting the “wrong” metadata content. I notice that if I try to get the URL using curl, I hit a 301 redirect. I wonder if Cloudflare is somehow causing an issue here.


#4

Where does the 301 redirect redirect to for this URL? I see a 200 status at that URL.


#5

I tried something new. I removed the cards from all URLs except the one above.

When I tweet the URL above, I just get no card but the correct URL displays in the tweet and directs to the correct page.

When I put it in the validator, I get this:


#6

OK I’ve tried a few more things to no avail:

  • Temporarily disabling Cloudflare
  • Disabling, one-by-one, anything rewrite rules or anything that creates 301 redirects
  • Disabling the link shortener we have setup at swimsw.am (seems to be unrelated, but thought I’d give it a try)

Any other suggestions?


#7

I should also note that older Tweets in the feed that were previously getting their own metadata for the cards are now displaying the metadata from other URLs, some from posts newer than when the tweet was originally published. https://twitter.com/swimswamnews

It also seems to be the same few URLs which are populating all of the cards for the domain. Could this be a caching problem on Twitter’s end?


#8
MacBook-Pro-4:~ davis$ curl -A Twitterbot https://swimswam.com/calvyn-justus-gets-olympicink-plus-lion-clubs-video/
<!DOCTYPE html><html lang="en-US" prefix="og: http://ogp.me/ns# fb: http://ogp.me/ns/fb#"><head><meta charset="UTF-8" /><meta name="google-site-verification" content="rawTH4TB7G3I3qRTn1UeqifGJjtstQHFUJDZ2lIjJr4" /><title>Calvyn Justus Gets His #OlympicInk, Plus Lion Clubs! (Video)</title><link rel="profile" href="https://gmpg.org/xfn/11" /><link rel="pingback" href="https://swimswam.com/xmlrpc.php" /><link rel="shortcut icon" href="//swimswam.com/wp-content/themes/swimswam/favicon.ico" /> <!--[if lt IE 9]> <script src="https://cdn.swimswam.com/wp-content/themes/swimswam/js/html5.js" type="text/javascript"></script> <![endif]--><meta name="twitter:card" content="summary_large_image" /><meta name="twitter:description" content="Swimming South Africa&#8217;s Calvyn Justus is our sport&#8217;s resident Youtube vlogger, with over 45,000 subscribers and nearly 3 million views, and we..." /><meta name="twitter:title" content="Calvyn Justus Gets His #OlympicInk, Plus Lion Clubs! (Video)" /><meta name="twitter:site" content="@swimswamnews" /><meta name="twitter:image" content="https://cdn.swimswam.com/wp-content/uploads/2016/09/Screen-Shot-2016-09-04-at-10.31.25-AM.png" /><meta name="twitter:creator" content="@HannahHecht" />

Etc.


#9


#10

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.