Article image is not displayed on facebook

Phoca plugins - support for all Phoca plugins except Phoca Gallery plugins
jadeluis
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Jul 2018, 17:16

Article image is not displayed on facebook

Post by jadeluis »

Hi,

I have just installed Phoca Open Graph Plugin and Phoca Open Graph Plugin System.
It seems it is working becuase I can check the meta tags in source code (http://www.atodaplana.es/descargas/metatags.png) but, actually, Facebook does not display any image when I paste the url of the article.

Thanks in advance
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Article image is not displayed on facebook

Post by Jan »

Hi, if the url to image is correct, try to check if the page is not cached in Facebook without the meta tags (see Facebook developers site to clear the case of cached site)

https://www.phoca.cz/documents/70-phoca ... aph-plugin

Jan
If you find Phoca extensions useful, please support the project
jadeluis
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Jul 2018, 17:16

Re: Article image is not displayed on facebook

Post by jadeluis »

Hi Jan

Your response has been very useful. I have checked Facebook Developers site and clear cache, and now every post shows a full imagen. Thanks so much.
On the other hand, I guess twitter meta tags (http://www.atodaplana.es/descargas/info.png) are not working, though the Twitter Card Validator (http://www.atodaplana.es/descargas/twitercard.png) shows that twitter card sumary large image tag is found.

Thanks again
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Article image is not displayed on facebook

Post by Jan »

Hi, I think, on Twitter there will be the same situation - cache - but maybe the mechanism of the cache feature is different. Testing now twitter, for me everything is Ok :idea:

Jan
If you find Phoca extensions useful, please support the project
jadeluis
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 09 Jul 2018, 17:16

Re: Article image is not displayed on facebook

Post by jadeluis »

Mmm... I'm afraid it is not only a cache issue.

There are many K2 items (Joomla) which always show a "blank.gif" in meta tag "twitter:image". So something is going wrong:

<meta property="og:image" content="http://bdicomunicacion.com/components/c ... /blank.gif" />
<meta name="twitter:image" content="http://bdicomunicacion.com/components/c ... /blank.gif" />
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Article image is not displayed on facebook

Post by Jan »

Hmmm, I think, this is much more a question on K2 developers, in this case, I don't have any experience so any clue idea :-(

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