Can't fix: 'og:image' property should be explicitly provided, even if a value can be inferred from other tags
I have a website that triggers a warning when clicked through a link shared on facebook. The warning says: "Possible problem with this link We have detected that this link: http://www.sjap.online/ may be malicious. To keep your account and device secure, only follow links you trust."
I ran the facebook debug tool and I get the following error message:
Inferred Property
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
I googled this issue and I understand it is caused by some lack of meta information in the site header, but my site's code has the following in the header:
<meta http-equiv="etag" content="2efdc27c8967f14e2c829e601f7a1228"/>
<meta property="og:title" content="South Jersey Aerial Photograpahy"/>
<meta property="og:type" content="website"/>
<meta property="og:url" content="http://www.sjap.online/"/>
<meta property="og:image" content="https://static.wixstatic.com/media/56a444_9273e80a60684dc8b38e56025059f356%7Emv2_d_3200_1800_s_2.png"/>
<meta property="og:site_name" content="South Jersey Aerial Photograpahy"/>
<meta property="og:description" content="South Jersey Aerial Photography is South Jersey's premier aerial photography and aerial videography company. Fully licensed and insured. Contact us today!"/>
<meta name="SKYPE_TOOLBAR" content="SKYPE_TOOLBAR_PARSER_COMPATIBLE"/>
I have no idea how to fix this error message. The property metatag is clearly there.
Solution 1:
In short, you should re-fetch your website information using this tool: https://developers.facebook.com/tools/debug/
Paste your URL and press Debug. Then either do Fetch, or press Scrape Again. This will refresh Facebook cache, and your html-page will be reloaded.
Some additional info: https://stackoverflow.com/a/44453472/4899346
Solution 2:
Following the already mentioned link to the Facebook object debugger, make sure that your og tags are written RIGHT AFTER the opening <head>
tag.
Not sure why this happens but I used to run into the exact same issue until I moved them right after it and then clicked once again on "Fetch new scrape information
".
Hope this helps!
Solution 3:
Ran into the same issue today. It would appear that it's a bug on Facebook's end.
Just by refreshing the Sharing Debugger will show me different error messages after each reload, including "Image Too Big", which clearly was not the case, and "Meta Tags In Body" which also was not correct.
As long as the correct image shows up in the Link Preview, I think you're good to go.
Solution 4:
Check for og:url
tag and see whether the url is correct or not. In my case the url was not correct and so it was causing this type of error.