I have a loopback that inserts <div>
's. These <div>
's are contents with text coming from the bank and with the option to share in facebook
.
By the time I generate these div's I enter a%% of% facebook tags, however they stay in <meta>
content. So far, they do not work, but should they work? Or are these tags going to work if I include them in the <body>
tag?
In my system I can share correctly in some places, but I insert the contents of the tags by the controller, yes, they go to <head>
and they work, but at the moment those texts are in <head>
'if they have several others on the same page.
foreach ($ordemdia as $key => $ordem) {
return "<meta property='og:image' content='/upload/itens/images/thumbs/{$ordem['tbvereadores']['img']}'>
.<div class='col-md-12'>...#conteudo...</div>";
}