I know this method isn't ideal, but I have no alternative. I can't access the head, and I need to add OG tags to a page. I tried simply embedding them into the page on the off-chance that it might work, but I only received a warning about the error in the Facebook Debugger.
I tried to add them to the head by javascript, but that all works on the surface since that appears after the page has loaded....I assume PHP would be the only practical way to add in the og:title, og:image, and og:description I need.
Does anyone know if/how it is possible to add the meta tags to the head so that Facebook will detect them? Again, I know this isn't the best way to go about it, but I only have access to the body content. Greatly appreciate any help!
Aucun commentaire:
Enregistrer un commentaire