I noticed that Facebook wasn’t showing any preview images for a website I maintain (http://teknologipartiet.dk/, my pet grey tribe political party/think tank). It turns out that Facebook wants a metatag to know which image to use: og:image. And how does one get this? Fortunately, there are some simple WordPress plugins to handle this issue. After one has added this, go to this page and rescrape the site. Then it should correctly show the preview image.
Getting Facebook to show preview images
- Post author:Emil O. W. Kirkegaard
- Post published:20. August 2016
- Post category:Programming