0
Answered

Twitter preview occasionally picks up second photo on a story -- any idea if that can be fixed?

Andrea 6 years ago in BLOX CMS updated by Christine Masters 6 years ago 1

Hello, 


A co-worker noticed that Twitter sometimes displays the second photo on a story. 


This story is one example: http://www.herald-dispatch.com/business/business-beat-demolition-of-old-hotel-makes-way-for-new/article_385a370a-9839-511b-be98-3054d3fb78dc.html 


Twitter shows a Valley Health photo instead of the demolition photo. 


Any idea why, and if there is a way to fix it? 


Thanks!

Answer

Answer
Answered

The og:image meta information on the page, which is how Twitter is supposed to get the preview, points to the right information.


So, at the time Twitter scraped the page, either the image wasn't there, it was in the wrong order, it wasn't the right size, or there was some other issue.


To fix these kinds of issues, you can run the Twitter Card validator, which causes a page rescrape:


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

After I did that, the preview in the validator shows the correct image. It SHOULD update the preview now in a little bit (it takes a while to go through maybe 15 - 30 mins).


Here is info on how to update Twitter, Facebook and LinkedIn cards:


https://help.medium.com/hc/en-us/articles/215769058-Update-social-media-preview-cards 

Answer
Answered

The og:image meta information on the page, which is how Twitter is supposed to get the preview, points to the right information.


So, at the time Twitter scraped the page, either the image wasn't there, it was in the wrong order, it wasn't the right size, or there was some other issue.


To fix these kinds of issues, you can run the Twitter Card validator, which causes a page rescrape:


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

After I did that, the preview in the validator shows the correct image. It SHOULD update the preview now in a little bit (it takes a while to go through maybe 15 - 30 mins).


Here is info on how to update Twitter, Facebook and LinkedIn cards:


https://help.medium.com/hc/en-us/articles/215769058-Update-social-media-preview-cards