I'm trying to pass an id to the URL to be shared by a facebook share button. Currently facebook uses the OG metatags to search the parameters. The problem is that when sharing, it seems that the variable is not read by the facebook debugger, and it is not possible to do what I want with the user to click on the share. Following:
OpenGraph metatag in question:
<meta property="og:url" content="https://meusite.com.br/".$id."/">
Sharing URL:
https://meusite.com.br/