On this url: Konrad Adenauer | Nedjma Institut
Facebook still do not see correctly the image to pick.
Run post through Facebook Sharing Debugger Sharing Debugger - Meta for Developers
See: Sharing Debugger - Meta for Developers
When you do changes, run again and hit âScrape Againâ button to check if is working.
Also, sometimes OpenGraph is not enough and is worth to implement Schema.
Example of my Schema for posts:
<script type="application/ld+json">
{
"@context":"http://schema.org",
"@type": "BlogPosting",
"mainEntityOfPage": { "@type": "WebPage" },
"headline": {{ .Title }},
{{ if .Params.featuredImage }}"image": {{ .Params.featuredImage | absURL }},{{ else }}
"image": {{ .Site.Params.og_image | absURL }},{{ end }}
"url": {{ .Permalink }},
"datePublished": {{ .PublishDate }},
"dateModified": {{ .Lastmod }},
"inLanguage": {{ .Site.LanguageCode }},
"isFamilyFriendly": "true",
"copyrightYear": "{{ now.Format "2006"}}",
"copyrightHolder": "Person",
"accountablePerson": {
"@type": "Person",
"name": {{ .Site.Params.author }},
"url": {{ absLangURL "/" }}
},
"author": {
"@type": "Person",
"name": {{ .Site.Params.author }},
"url": {{ absLangURL "/" }},
"sameAs":[
"https://github.com/{{ .Site.Params.github_url }}",
"https://www.facebook.com/{{ .Site.Params.facebook_url }}",
"https://{{ .Site.Params.mastodon_instance }}/{{ .Site.Params.mastodon }}",
"https://www.linkedin.com/in/{{ .Site.Params.linkedin_url }}",
"https://www.instagram.com/{{ .Site.Params.instagram_url }}",
"https://www.youtube.com/user/{{.Site.Params.youtube}}"
]
},
"creator": {
"@type": "Person",
"name": {{ .Site.Params.author }},
"url": {{ absLangURL "/" }}
},
"publisher": {
"@type": "Organization",
"name": {{ .Site.Params.author }},
"url": {{ absLangURL "/" }},
"logo": {
"@type": "ImageObject",
"url": {{ .Site.Params.logo | absURL }}
}
},
"articleBody": {{ .Content | safeJS | htmlUnescape | plainify }},
"description": {{ .Summary | plainify | safeHTML }},
"keywords": [{{ range $i, $e := .Params.tags }}{{ if $i }}, {{ end }}{{ $e }}{{ end }}]
}
</script>