{"id":6146,"date":"2016-08-20T14:50:10","date_gmt":"2016-08-20T13:50:10","guid":{"rendered":"http:\/\/emilkirkegaard.dk\/en\/?p=6146"},"modified":"2016-08-20T14:50:10","modified_gmt":"2016-08-20T13:50:10","slug":"getting-facebook-to-show-preview-images","status":"publish","type":"post","link":"https:\/\/emilkirkegaard.dk\/en\/2016\/08\/getting-facebook-to-show-preview-images\/","title":{"rendered":"Getting Facebook to show preview images"},"content":{"rendered":"<p>I noticed that Facebook wasn&#8217;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 <a href=\"https:\/\/developers.facebook.com\/docs\/sharing\/webmasters\">Facebook wants a metatag<\/a> to know which image to use: og:image. And how does one get this? Fortunately, <a href=\"https:\/\/wordpress.org\/plugins\/simple-facebook-og-image\/\">there are some simple WordPress plugins<\/a> to handle this issue. After one has added this, go to <a href=\"https:\/\/developers.facebook.com\/tools\/debug\/\">this page<\/a> and rescrape the site. Then it should correctly show the preview image.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I noticed that Facebook wasn&#8217;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 [&hellip;]<\/p>\n","protected":false},"author":17,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2089],"tags":[374,2379,2377,2378],"class_list":["post-6146","post","type-post","status-publish","format-standard","hentry","category-programming","tag-facebook","tag-image","tag-ogimage","tag-preview","entry"],"_links":{"self":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/6146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/users\/17"}],"replies":[{"embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/comments?post=6146"}],"version-history":[{"count":1,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/6146\/revisions"}],"predecessor-version":[{"id":6147,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/posts\/6146\/revisions\/6147"}],"wp:attachment":[{"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/media?parent=6146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/categories?post=6146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/emilkirkegaard.dk\/en\/wp-json\/wp\/v2\/tags?post=6146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}