Twitter preview occasionally picks up second photo on a story -- any idea if that can be fixed?
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
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
Customer support service by UserEcho
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