wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Twitter preview image differs from actual publication

Open siobhanseija opened this issue 8 years ago • 1 comments

Please give us a description of what happened.

A page (specifically: https://yoast.com/academy/keyword-research-training/) still held old images for Facebook and Twitter. Facebook had been replaced earlier this week, Twitter hadn't yet but I wanted to just now. I replaced the Twitter image with the one already uploaded for Facebook, by selecting it from the Media library. The problem: the Twitter preview looks different than it actually shows when you actually share the post on Twitter. Please note: this page is a custom post type. If I'm correct the same thing happened on a regular post though, when we tried.

Please describe what you expected to happen and why.

In the Twitter preview, the full image isn't shown. When I actually save the image and post the link to the page on Twitter, the image is shown as it is. You also notice the difference when you switch between the Facebook and Twitter preview. As you see in this image, the title bar doesn't fully show in the Twitter preview. It does actually show when you save like this and publish a tweet. Left is the Facebook preview, right is Twitter. The title bar in the Twitter image should look like the one for Facebook

facebook-preview-vs-twitter-preview

How can we reproduce this behavior?

See the steps in the description above.

Technical info

  • WordPress version: 4.9.8
  • Yoast SEO version: 8.0 RC3
  • If relevant, which editor is affected (or editors):
  • [x] Classic Editor
  • [ ] Gutenberg
  • [ ] Classic Editor plugin
  • Which browser is affected (or browsers):
  • [ ] IE11
  • [ ] Edge
  • [x] Chrome
  • [ ] Firefox
  • [ ] Safari

siobhanseija avatar Aug 28 '18 14:08 siobhanseija

The social preview is a part of Yoast SEO Premium.

Duplicate of https://github.com/Yoast/wordpress-seo-premium/issues/1562 therefore closing

CarolineGeven avatar Aug 30 '18 11:08 CarolineGeven