I am making use of facebook sharing. But in the URL of the button I'm also passing the user id to do actions later, as follows:
<div class="fb-share-button"
data-href="https://meusite?id=<?=$id_pessoa?>"
data-layout="button">
</div>
The problem is that the entire view of the share is catching the tags default. But when I go in the debugger of facebook and debug the link with the id is generated the desired visualization in some cases.
I have tried through the dialog too, but without success.
I have tried to pass through segments in the url, like this: data-href="https://meusite/<?=$id_pessoa?>/"
. Without success.
Does anyone know of a way to do this without debugging fails?