Can't fix: 'og:image' property should be explicitly provided, even if a value can be inferred from other tags

后端 未结 7 1464
暖寄归人
暖寄归人 2020-12-24 11:19

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

相关标签:
7条回答
  • 2020-12-24 11:43

    Had same issue today

    'og:image' property should be explicitly provided, even if a value can be inferred from other tags

    somehow my linter replaced "(quotation mark) to ”(right double quotation mark), therefore https://developers.facebook.com/tools/debug/sharing/ was showing issue,

    cause of that, these meta properties were not visible to fb-bot. After this correction it works fine

    0 讨论(0)
  • 2020-12-24 11:44

    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

    0 讨论(0)
  • 2020-12-24 11:44

    If you're using a plugin like W3 Total Cache, Just purge your cache and go back to Facebook object debugger page mentioned by @Alex C and then click on Fetch new scrape information.

    This solved the issue for me

    0 讨论(0)
  • 2020-12-24 11:45

    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.

    0 讨论(0)
  • 2020-12-24 11:46

    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.

    0 讨论(0)
  • 2020-12-24 11:48

    I had og:url content as http://... when my site always redirected to https://.... Updating this fixed the issue for me.

    0 讨论(0)
提交回复
热议问题