The 'og:image' property should be explicitly provided

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
tastymouse
Phoca Member
Phoca Member
Posts: 12
Joined: 28 Mar 2013, 14:31

The 'og:image' property should be explicitly provided

Post by tastymouse »

This is a new question regarding this topic: viewtopic.php?f=33&t=39399

I followed the recomendation in this thread, but still Facebook shows no pictures. When I go to the Facebook debugger I get the following message:
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.

However in the source I see: <meta property="og:image" content="http://elfletterig.nl/images/GELUIDSTUIN2016.jpg" />

Any idea what might be wrong? The plugin works fine on another site I made.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The 'og:image' property should be explicitly provided

Post by Jan »

Hi, I think, then this should be a question on FB developers.

- the images exists - when you click on it, the direct link displays it
- the image is larger then needed image

Try to check to change it from property to name in Options, but I think, property should be accepted.

:idea:
Jan
If you find Phoca extensions useful, please support the project
tastymouse
Phoca Member
Phoca Member
Posts: 12
Joined: 28 Mar 2013, 14:31

Re: The 'og:image' property should be explicitly provided

Post by tastymouse »

Two months later if finaly works. Allas I can't tell why. The Facebook debugger appear to be buggy itself ;).
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The 'og:image' property should be explicitly provided

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Winchester
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 24 Aug 2016, 05:11

Re: The 'og:image' property should be explicitly provided

Post by Winchester »

Facebook needs the tags to say "property" instead of "name".

Code: Select all

<meta property="og:type" content="article" /> //This is what it wants with "property" attribute.

<meta name="og:type" content="article" /> //Complains is the "name" attribute is used.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The 'og:image' property should be explicitly provided

Post by Jan »

Hi, yes, just change it in Parameters:
https://www.phoca.cz/documents/70-phoca- ... aph-plugin

change the render type from name to property

Jan
If you find Phoca extensions useful, please support the project
absillitoe
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 03 Nov 2016, 10:32

Re: The 'og:image' property should be explicitly provided

Post by absillitoe »

Hi Jan,

I seem to be having exactly the same problem here, at least I suppose, because the plugin is rendering "meta name" and I get the same messages from Facebook. However, even though I installed version 2 of the Phoca Open Graph Plugin, I do not see the options referred to in the documentation. Under common options, I only have application ID and other properties. My site is running on Joomla 3.6.4. What am I doing wrong?

Thanks,

Alan
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 47794
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: The 'og:image' property should be explicitly provided

Post by Jan »

Hi, if you run Joomla! 3.6.4, install the latest version 3.0.8:
https://www.phoca.cz/download/category/6 ... aph-plugin

Jan
If you find Phoca extensions useful, please support the project
Post Reply