Ori Idan
Ori Idan

Reputation: 153

Facebook does not recognize OG tags of website

I added metadata for og:title, og:image etc. But facebook for some reason does not see them. I get error: Object at URL 'http://www.heliconbooks.com/article/authorlanding' of type 'website' is invalid because a required property 'og:title' of type 'string' was not provided.

I looked at the facebook scraper and for some reason these meta tags are omitted. When I look at the source, I see them.

What am I doing wrong?

Upvotes: 3

Views: 3914

Answers (2)

Ori Idan
Ori Idan

Reputation: 153

I think I found the reason, facebook has seen a different page template since my system has adaptive templates based on visitor IP. Now it shows an image, but not the image I wanted. I guess I have to continue researching it.

Upvotes: 1

Tobi
Tobi

Reputation: 31479

Check https://developers.facebook.com/tools/debug/og/echo?q=http%3A%2F%2Fwww.heliconbooks.com%2Farticle%2Fauthorlanding

There you can see that FB doesn't see any OG tags. If I look at the source of the website you linked, there are no OG tags as well. So, fix you code according to https://developers.facebook.com/docs/opengraph/howtos/maximizing-distribution-media-content#tags

Upvotes: 1

Related Questions