Error with OG: Facebook TAGS [closed]
want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed last year .
improve this question Facebook facebookI have a problem with og:tag
, I have a e-commerce made with opencart, to be able to share links on facebook I had to use these tags
but I'm with the following problem, I added These tags
to be able to appear a store icon when sharing on facebook apra debug I am using this tool when debugging home
and the clocks session works normally as shown in the image below:
So far everything is working as expected but see what happens when I debug the glasses session and alliances:
Notice that in the preview shows the photo of a watch when in fact it would have to appear only the logo as in the first two images I do not know why it works in some sessions and others do not, follow my meta tags
for analysis:
From start I tried to leave it like this and it worked but happens this problem above only takes the session watches and the session home
the rest does not add the correct image.
<meta property="og:title" content="Óticas Reiban" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:url" content="http://oticasreiban.com.br" />
<meta property="og:description" content="A Reiban é uma empresa de e-commerce, especializada no varejo on-line. Com a grande aposta na internet como um meio fácil, eficiente e seguro para se comprar, surgiu a ideia e necessidade" />
<meta property="og:image" content="http://oticasreiban.com.br/image/catalog/logo-reiban-facebbok.jpg" />
And even trying to put all urls
of the sessions in the targets does not work continues giving the same problem only working properly in the first two sessions listed:
<meta property="og:title" content="Óticas Reiban" />
<meta property="og:locale" content="pt_BR" />
<meta property="og:url" content="http://oticasreiban.com.br" />
<meta property="og:url" content="http://oticasreiban.com.br/aliancas" />
<meta property="og:url" content="http://oticasreiban.com.br/relogios" />
<meta property="og:url" content="http://oticasreiban.com.br/oculos-de-sol" />
<meta property="og:description" content="A Reiban é uma empresa de e-commerce, especializada no varejo on-line. Com a grande aposta na internet como um meio fácil, eficiente e seguro para se comprar, surgiu a ideia e necessidade" />
<meta property="og:image" content="http://oticasreiban.com.br/image/catalog/logo-reiban-facebbok.jpg" />
Note: either of these two models that I used works right only on home session and watches and giving error on glasses and wedding bands.
1 answers
Try putting an og: url to your respective page.
Example:
On page http://oticasreiban.com.br/relogios
<meta property="og:url" content="http://oticasreiban.com.br/relogios" />
And so on.