necesito compartir los post de mi blog en facebook, la informacin de los post es cargada dinamicamente por lo que mis meta tags vienen siendo algo como:
Código PHP:
<meta property="fb:admins" content="0000000000" />
<meta property="og:title" content="<?php echo $titulo; ?>" />
<meta property="og:type" content="article" />
<meta property="og:url" content="http://mipagina.com/post.php?n=<?php echo $_GET['n'] ?>" />
<meta property="og:image" content="<?php echo $portada; ?>" />
<meta property="og:description" content="<?php echo $descripcion; ?>" />
<meta property="og:site_name" content="Mipagina" />
el detalle esta en que al dar click al boton compartir, no importa lo que haga, el share siempre toma los datos de los meta principales y no los del open graph
.... alguna solucion fiable?
usando el debugger de facebook me lanza los siguientes avisos
Inferred Property
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The 'og:url' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The 'og:title' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The 'og:description' property should be explicitly provided, even if a value can be inferred from other tags.
Inferred Property
The 'og:image' property should be explicitly provided, even if a value can be inferred from other tags.
Share App ID Missing
The 'fb:app_id' property should be explicitly provided, Specify the app ID so that stories shared to Facebook will be properly attributed to the app. Alternatively, app_id can be set in url when open the share dialog.