[RESOLU][CakePHP] Meta partage sur Facebook

Par reivaxui, il y a 12 ans


Bonjour à tous,
J'ai un petit soucis, pour un site réalisé sous Cake, quand je partage un lien sur facebook il ne reprends pas les balises meta pour le partage (title, description...). Pourtant j'ai bien mis les balises og

Exemple ici

Le code dans mon <head> :

<?php

        echo $this->Html->meta( array('property' => 'og:title', 'content' => "Coiffure Job : 1er site d'offre d'emploi de la coiffure") );
        echo $this->Html->meta( array('property' => 'og:url', 'content' => $this->Html->url(null, true) ) );
        echo $this->Html->meta( array('property' => 'og:description', 'content' => $cakeDescription) );
        echo $this->Html->meta( array('property' => 'og:site_name', 'content' => "Coiffure Job") );
        echo $this->Html->meta( array('property' => 'og:type', 'content' => "website") );
        echo $this->Html->meta('twitter:card', 'summary');
        echo $this->Html->meta('twitter:site', '@coiffurejob');
        echo $this->Html->meta('twitter:title', 'Coiffure Job');
        echo $this->Html->meta('twitter:description', $cakeDescription);
        echo $this->Html->meta('twitter:creator', '@exootia');
        echo $this->Html->meta('twitter:domain', 'coiffure-job.com');

    ?>

Quelqu'un aurait une idée ?
Merci d'avance

1 réponse

reivaxui, il y a 12 ans

Résolu, ça venait .ovhconfig ... comme précisé ici