0
I’m making a system for my course and I found a big problem in the part where I should share the site link directly on Facebook.
I have the button on my site that opens the Facebook publishing window, I’m sending this link to be shared:
http://localhost/BAC....pag=lerMais.php?&codigo=3
However, when the link goes to Facebook, I click on it to open it, but the link will only:
http://localhost/BAC...pag=lerMais.php
I mean, he erases the &codigo=3
. How to fix this mistake?
function mensagem (codigoConteudo) {
var link = "http://www.facebook.com/sharer.php?u=http://localhost/BACKUPS_TCC/09/Sistema3009/areaAdm.php?pag=lerMais.php&codigo="+codigoConteudo;
window.open(link, 'facebook_share', 'height=320, width=640, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no',"gl");
}
It worked man, thank you very much!!! thanks very much :)
– Matheus Luz
@Matheusluz please, if the answer worked, mark it as correct, please read How and why to accept an answer?
– Guilherme Nascimento