Open Graph Facebook

0

I created the following Open Graph tags to be able to share pages of a site:

<meta property="og:type" content="article">
<meta property="og:title" content="Tranzao">
<meta property="og:site_name" content="BrainStorm">
<meta property="og:url" content="nome do site">
<meta property="og:image" content="https://www.google.pt/url?sa=i&rct=j&q=&esrc=s&source=images&cd=&cad=rja&uact=8&ved=0ahUKEwj_67mx0OLTAhVM6xoKHT5XADYQjRwIBw&url=https%3A%2F%2Fwww.mensagenscomamor.com%2Fimagens-de-deus&psig=AFQjCNFNZ_33-_diZiOY1CckXHoXO6Huzw&ust=1494412997941849">
<meta property="article:author" content="Romeu">

The share button until works, but no image appears. The only thing that is correct is the name of the site.

I used the debugger tool of facebook and there appear several errors, for example:

  

The 'og: type' property is required, but not present

However this should not appear, since I already have a% goal set%, as shown above.

From what I noticed in the debugger it does not catch any tags, so it must be some mistake, but I do not know where. I have already put the prefix property on the head, but nothing, everything is the same.

    
asked by anonymous 09.05.2017 / 13:17

1 answer

0

I did it, but ...

I installed this package in my project: Skybrud.OpenGraph, then just follow what the documentation says, it's not complicated.

However this did not work at first. It was to the debugger of facebook and it returned to give me the same errors, minutes later I tried again, I did not move in the code, and to my astonishment it worked.

I hope this was helpful to someone else.

    
10.05.2017 / 17:29