problem with Facbook and OG tags.

HomeForumsAdRotate for WordPressBug Reportsproblem with Facbook and OG tags.

  • #128110

    David
    Badges:

    Hi Arnan,

    something new has popped up, facebook is giving errors when we go from facebook to the website. It looks like it’s related to the billboard ads we are running.

    See: https://developers.facebook.com/tools/debug/?q=laoistoday.ie

    The error is “The ‘og:image’ property should be explicitly provided, even if a value can be inferred from other tags.” and further down the page it lists this as an ad:

    og:image https://www.laoistoday.ie/wp-content/uploads/2016/02/26-03-2021-Laois-GAA-Billboard.png

    But why is an ad listed as the OG image? rescanning the site will give the same error but with a different ad. When I check any page I don’t see this code, instead it’s correctly added like below, so where are FB getting this?
    <meta property=”og:image” content=”https://www.laoistoday.ie/wp-content/uploads/2021/03/IMG-20210326-WA0002.jpg&#8221; />

    Any ideas?

    David

    #128187

    og:image is a SEO thing.
    AdRotate does not use/know or care about those tags. So anything that goes wrong with SEO tags is done somewhere else.

    For example; if you do not set an image, the SEO plugin may just pick the first one on the page, which in this case would happen to be an advert image.
    In most SEO plugins you can set a sort of generic/default image for that. I set my logo as the default image. Then if a page does not have a different image defined, it’ll use the logo instead of whatever is found on the page.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

You may be interested in