Home > Blockchain >  Facebook Open Graph Image
Facebook Open Graph Image

Time:07-27

I had to restore a php page from an old version and now facebook debugging is not finding the og:image tag any more. A share url is: https://maltishlanguage.com/dictionary/0603/

If I share debug the link on the LinkedIn post inspector, the og:image is shown correctly.

in the tag, I have an og:image (http jpg URL) and a og:image:secure (https jpeg URL)

The Graph API Explorer gives a good image:

{
  "url": "https://maltishlanguage.com/dictionary/0523/rude/1?s=s",
  "type": "website",
  "title": "Maltish - I am turning round in the nothing",
  "image": [
    {
      "url": "http://maltishlanguage.com/images/fbMaltishLanguageDictionary.jpg"
    }
  ],
  "description": "Maltish Dictionary entry from the Expression 'Qed indur fix-xejn '",
  "updated_time": "2022-07-21T05:24:04 0000"
}

CodePudding user response:

@Cbroe solved the issue for me, many thanks and sorry i did not understand you initially, but I just checked by setting Google into cookieless mode which showed the error where I had a session check, but in the else I was still tryiong toe read the session if not set and it was thoring the error @CBroe mentioned!

Solved and it's working now :)

So issue was that a PHP error was being written to the outpu HTML in the HEAD tag.

  • Related