wrong title when try to share with facebook button

More
7 years 5 months ago #35298 by kisznera
Dear Support,

We try to use your plugin with joomla 3.6 , and virtuemart 3. When I try to share a product, the first share is correct but after this share the next products use the title of the first product, until I clear the cache. Than we can share a product again correctly and the error ocures again.

You can check the error here:
www.krokihobby.hu/

Try to share products in the detailed view.

Thank you in advance for support!

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago - 7 years 5 months ago #35299 by nordmograph
Hello

I see there is an open graph meta conflict on your site.

For instance, if we check the source code at
www.krokihobby.hu/sizzixvagosablonok/siz...x-thinlits-snowglobe

we find these meta added by our plugin:
Code:
<meta property="fb:app_id" content="174726969623871"/> <meta property="og:type" content="website"/> <meta property="og:image" content="http://www.krokihobby.hu/images/stories/virtuemart/product/661603.jpg"/> <meta property="og:site_name" content="Sizzix Thinlits - Snowglobe"/> <meta property="og:description" content="23db/csomag Sizzix v&eacute;kony f&eacute;m v&aacute;g&oacute;k&eacute;sek. A Thinlits-szel k&aacute;pr&aacute;zatos r&eacute;szletess&eacute;gű form&aacute;kat k&eacute;sz&iacute;thetsz, &iacute;gy k&eacute;peslapjaid &eacute;s b&aacute;rmilyen pap&iacute;rmunk&aacute;d m&eacute;g egyedibb lesz. Ezek az ostyav&eacute;kony, k&eacute;miailag maratott kiv&aacute;g&oacute; form&aacute;k &uacute;gy k&eacute;sz&uuml;ltek, hogy k&ouml;nnyed&eacute;n el tudj v&aacute;gni vel&uuml;k kartont, pap&iacute;rt, met&aacute;l f&oacute;li&aacute;t &eacute;s dekorgumit. Adj a munk&aacute;dhoz egy cseppnyi plusz ezekkel a kifinomult form&aacute;kkal A v&aacute;g&oacute;k&eacute;sek haszn&aacute;lat&aacute;hoz sz&uuml;ks&eacute;ged lesz , multiplatformra vagy m&aacute;gneses platformra &eacute;s egy p&aacute;r norm&aacute;l v&aacute;g&oacute;lapra.T&eacute;gy a pap&iacute;rod &eacute;s a k&eacute;s k&ouml;z&eacute; zs&iacute;rpap&iacute;rt &iacute;gy nem ragad a sablonba a pap&iacute;rod, b&aacute;tran ak&aacute;r h&aacute;romszor is tekerd oda-vissza. Sablon m&eacute;rete : 12,70*7,62cm - 0,64*0,64cm Kompatibilis v&aacute;g&oacute;g&eacute;pek: Sizzix Big Shot, Sizzix Big Shot Plus, Sizzix Big Shot Pro "/> <meta property="og:title" content="Sizzix Thinlits - Snowglobe"/> <meta property="og:url" content="http://www.krokihobby.hu/sizzixvagosablonok/sizzixthinlitsvagosablonok/sizzix-thinlits-snowglobe"/> <meta property="og:price:amount" content="4.090"/> <meta property="og:price:currency" content="HUF"/> <meta property="og:availability" content="instock"/>

but if you like higher in the page, you can find other conflicting open graph tags:
Code:
<meta name="og:image" content="http://www.krokihobby.hu/assets.pinterest.com/images/PinExt.png" /> <meta name="og:description" content=" (function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = &quot;//connect.facebook.net/hu_HU/sdk.js#xfbml=1&amp;version=v2.0&amp;appId=17472696962387..." />
with facebook javascript set as og:description ... This must be fixed, or better: removed.

And further down , we find
Code:
<meta property="og:video" content="http://www.krokihobby.hu/components/com_allvideoshare/player.swf?autoStart=true&random=2029505918&base=http%3A%2F%2Fwww.krokihobby.hu%2F&vid=13&pid=2" /> <meta property="og:video:type" content="application/x-shockwave-flash" /> <meta property="og:video:width" content="560" /> <meta property="og:video:height" content="340" /> <meta property="og:title" content="Sizzix Alapok I." /> <meta property="og:image" content="http://img.youtube.com/vi/ujB77WnMBpw/default.jpg" /> <meta property="og:video" content="http://www.krokihobby.hu/components/com_allvideoshare/player.swf?autoStart=true&random=24842353&base=http%3A%2F%2Fwww.krokihobby.hu%2F&vid=16&pid=2" /> <meta property="og:title" content="Butterfly Card with Paula Pascual" /> <meta property="og:image" content="http://img.youtube.com/vi/cilCRVuVl6Y/default.jpg" /> <meta property="og:video" content="http://www.krokihobby.hu/components/com_allvideoshare/player.swf?autoStart=true&random=1809282789&base=http%3A%2F%2Fwww.krokihobby.hu%2F&vid=1&pid=2" /> <meta property="og:title" content="Sizzix Big Shot gép" /> <meta property="og:image" content="http://img.youtube.com/vi/jTVKrV1Rf5g/default.jpg" />

with other conflictin og:title.

You need to have only one og:title per page, if not only the last one would be used. and it's not the one from our plugin here, but the one from com_allvideoshare.

Hope it helps.
Let me know

- Need help? Post the URL of the related page (eventualy as confidential info), it will help solve your issue faster.
- An error, notice or warning? report the exact message including the line number
- If you get a white page , enable error reporting and / or check your server error logs.
Last edit: 7 years 5 months ago by nordmograph.

Please Log in or Create an account to join the conversation.

Time to create page: 0.311 seconds
Powered by Kunena Forum
Disclaimer: Nordmograph is not affiliated with or endorsed by The Joomla! Project™. Any products and services provided through this site are not supported or warrantied by The Joomla! Project or Open Source Matters, Inc. Use of the Joomla!® name, symbol, logo and related trademarks is permitted under a limited license granted by Open Source Matters, Inc.