Jump to content

shop powered by prestashop won't change on facebook page


debula

Recommended Posts

You need to change meta-tagags of your index.php site. On back-office tab: Preferences -> SEO & URL's -> edit page "index". Change the meta-keywords and meta descripiton there.

 

After done, clear smarty cache of your shop (back office tab "advanced paramaeters -> performance" on right top the clear button) and also the cache of Facebook. - https://developers.facebook.com/tools/debug

Link to comment
Share on other sites

You need to change meta-tagags of your index.php site. On back-office tab: Preferences -> SEO & URL's -> edit page "index". Change the meta-keywords and meta descripiton there.

 

After done, clear smarty cache of your shop (back office tab "advanced paramaeters -> performance" on right top the clear button) and also the cache of Facebook. - https://developers.facebook.com/tools/debug

still same result, I already doing it many times... 

 

look up my SS, is it normal with error on facebook debug

post-1434518-0-50197300-1505177942_thumb.png

Link to comment
Share on other sites

The error you are having is another. Your theme is not delivering any open graph meta properties to FB. They are missing. You need to add them to your theme before you can use. After added the code to the script, you need to revise the metas written on index and clear all caches as mentioned before.

 

How to add the open graph metas:

 

Add following lines to your

 

/themes/your theme/header.tpl AFTER THE LINE: {$HOOK_HEADER}

<meta property="og:title" content="{$meta_title|escape:'htmlall':'UTF-8'}"/>
<meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/>
<meta property="og:site_name" content="{$shop_name|escape:'htmlall':'UTF-8'}"/>
<meta property="og:type" content="website">
<meta property="og:description" content="{$meta_description|escape:html:'UTF-8'}">
{if $page_name=='product'}
<meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}">
{else}
<meta property="og:image" content="{$img_ps_dir}logo.jpg" />
{/if}

You need also to have installed and activated any FB module which contains your app_ID.

Link to comment
Share on other sites

The error you are having is another. Your theme is not delivering any open graph meta properties to FB. They are missing. You need to add them to your theme before you can use. After added the code to the script, you need to revise the metas written on index and clear all caches as mentioned before.

 

How to add the open graph metas:

 

Add following lines to your

 

/themes/your theme/header.tpl AFTER THE LINE: {$HOOK_HEADER}

<meta property="og:title" content="{$meta_title|escape:'htmlall':'UTF-8'}"/>
<meta property="og:url" content="http://{$smarty.server.HTTP_HOST}{$smarty.server.REQUEST_URI}"/>
<meta property="og:site_name" content="{$shop_name|escape:'htmlall':'UTF-8'}"/>
<meta property="og:type" content="website">
<meta property="og:description" content="{$meta_description|escape:html:'UTF-8'}">
{if $page_name=='product'}
<meta property="og:image" content="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large')}">
{else}
<meta property="og:image" content="{$img_ps_dir}logo.jpg" />
{/if}

You need also to have installed and activated any FB module which contains your app_ID.

this is it!!! on the way to doing it.....Im in fireeeeee  :D  :D  :D

Link to comment
Share on other sites

After adding the code you need to clear smarty cache. Than go to FB debug and use "fetch new data". If not working than your server is not emptying cache correctly or FB is not fetching data instantly. In this case wait 1-2 days and try to see result again than.

 

For more information read also here: https://developers.facebook.com/docs/sharing/opengraph

Link to comment
Share on other sites

After adding the code you need to clear smarty cache. Than go to FB debug and use "fetch new data". If not working than your server is not emptying cache correctly or FB is not fetching data instantly. In this case wait 1-2 days and try to see result again than.

 

For more information read also here: https://developers.facebook.com/docs/sharing/opengraph

hi Mate, thanks for your help, now the problem is sloved, just need to wait 2 days, and it's change automatically.... thanks a lot my friend....

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...