Updated content on Web Site do not update twitter cards


#1

Hlo

about Twitter cards, we updated content on our web site, and also the content of twitter cards meta tags…

But when sending a Tweet with that URL, the link to show the abstract shows the old content of the meta tags !

Is there a way, as for update link in Facebook, to force update of twitter cards URL content ?
Some where in the developper site ?

Thank for answers…
JPK - E SYSTEMES - France


#2

Here is the code of the Twitter Card meta on the web site

<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@IllicoPress" />
<meta name="twitter:creator" content="@IllicoPress" />
<meta name="twitter:url" content="http://www.illicopress.com" />
<meta name="twitter:title" content="Pour l&#8217;impression en ligne de vos travaux, illicoPress vous offre toujours plus de choix" />
<meta name="twitter:description" content="Votre #imprimerie en ligne IllicoPress est &#224; votre &#233;coute et vous propose une offre &#233;tendue pour vos travaux d'impression :
nouveaux grammages, nouvelles options de pelliculage, plus de pages pour imprimer vos brochures..." />
<meta name="twitter:image:src" content="http://www.illicopress.com/event/07-2013/imprimerie-illico-press.png" />

And here the code of the tweet…

<blockquote class="twitter-tweet"><p><a href="https://twitter.com/search?q=%23impression&amp;src=hash">#impression</a> en ligne : travaux direct imprimeur. plus d&#39;options <a href="https://twitter.com/search?q=%23flyers&amp;src=hash">#flyers</a>, cartes de visites, brochures et catalogues <a href="http://t.co/MHbcrYFHVX">http://t.co/MHbcrYFHVX</a></p>&mdash; Illico Press (@IllicoPress) <a href="https://twitter.com/IllicoPress/statuses/351597578992877568">July 1, 2013</a></blockquote>
<script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>

#3

I guess Tweet cards are cached.
The same URL links to an updated content, including Tweet Cards Metas, but tweets that refers to that URL do not reflect changes of the landing page… An the Card in the tweeter time-line shows old content, even if we tested the URL in the preview tool…

I’v tried @episod trick who suggests to add get parameter following the URL… And it work.
(https://dev.twitter.com/discussions/9005)

But indeed, I guess there should be a tool somewhere in dev.twitter.com, for instance, to refresh cached URL, for us not to have to add get parameters each time we tweet the same URLs with new meta content… There is a similar issue in Facebook about sharing link in the status. Facebook provide somewhere a way to refresh cached content…


#4

Yes, Cards content is cached, and this caching explains the behavior that you’re seeing.

Thanks for your recommendation about adding a way to clear the cache- it’s something that we’re currently planning to implement.


#5

Waiting for that Twitter Card #feature, almost an enhancement !-)
While waiting, seems that adding some get parameters to URL works fine.
Quite obvious if content is cached as a different URL saves a different cached content.
Thanks @theSeanCook for the cue


#6

is the cache refreshment still after 24 hours? thank you very much


#7

How long is the card cached? I updated an image due to incorrect cropping (Twitter scaled the image 90x120 / when displayed the image height is cropped).


#8

#9

Cards are cached for 7 days. You can use this technique to update it during development:

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

Thanks!

Ryan


#10

It’s more like 7 days.


#11

Huge +1 for adding a way to clear the cache. We got unpleasantly surprised by this today; our tweets about a new app appear to be pointing to old information. :frowning:


#12

Glad it’s helpful. We’d like to formalize it more in the future, but this is what we have for now!


#13

@rchoi +1 on adding cache clearing option. We noticed a missing element in production and have corrected the code, but now it looks like we will have wait 7 days to see the update? Is there no other way to clear the cache? I have attempted to follow the instructions at the URL you provided:

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

But it does not appear to be clearing the cache for our Twitter Card.


#14

Sorry for that. It works, but sometimes requires multiple submissions, for various (unobvious) back-end reasons.

Another thing I heard works is running the t.co link through the validator, but I haven’t tried it at length yet.


#15

The card validator will update the card with new information, I’ve been using it for a while now and it works.

Although I like the previous version of the card validator more because before I could see the page source of the card but not anymore.


#16

I see this thread is opened in 2013. We are in October 2015 and no engineer implemented any solution
7 days is too much, too long. Why do not implement something like in Facebook where developers can refresh the cache?
I had a technical issue on my server and the last song had a wrong card.
The picture was immediately chagned with the correct one, but still in cache the bad one. I cannot promote anything with the wrong one


#17

Hi I am still having a problem with this, I have gone through the troubleshooting docs to try and refresh the cache and I have re-submitted the URL… a lot and it still won’t change. Is there any other manual process you can do to help me out with this please


#18

Not to necro a thread, but if anyone is still having this issue, a workaround from the support at ArtStation is below. Worked with a project of mine that had an old title and an old description showing in the preview card. Add a parameter, and some one and zero magic happens and the card should reflect accurately.

Example:
http:www.samplelink.com/xxxxx (oh no, it’s old cache data!)
http:www.samplelink.com/xxxxx?1=1 (oh sweet, it works)


#19

Had the same problem… Till i updated the Twitter card…then I refreshed my landing page(index.html) then copied the url as it is pasted into my tweets.

To my surprise Twitter card was up dated…

But when I typed my url into my tweets it generates older card content.