open graph in SPIP

Hello,
I couldn’t find info in English on how to integrate open graph in
SPIP. I see a plugin out there with some forum questions in French,
but not English.
Using the og format presented in ogp.me, how can I integrate it in SPIP site?

<meta property="og:url" content=" ?" />
<meta property="og:title" content=" ?" />
<meta property="og:type" content="? " />
<meta property="og:image" content="? " />
<meta property="og:description" content=" ?" />

Thank you
Kamran

Hello,
I added the following tags inside the head, in case someone can make
them better, or wants to use. I checked them in fb Sharing Debugger
and TwitterCard validator, and they work fine. I used also the plugin
Métas +.

<!-- Article Open Graph -->

<meta property="og:type" content="website" />
[<meta property="og:title" content="(#TITRE)"/>]
[<meta property="og:url" content="(#URL_ARTICLE|url_absolue)"/>]
[<meta property="og:description" content="(#INTRODUCTION|couper{100})"/>]
[<meta property="og:image"
content="#URL_SITE_SPIP/(#LOGO_ARTICLE|url_absolue||extraire_attribut{src})"/>]
[<meta property="og:site_name" content="(#NOM_SITE_SPIP|textebrut)"/>]
<meta name="twitter:site" content="@kabulpress" />
<meta name="twitter:creator" content="@kamranmirhazar" />

<!-- Rubrique Open Graph -->

<meta property="og:type" content="website" />
[<meta property="og:title" content="(#TITRE)"/>]
[<meta property="og:url" content="(#URL_RUBRIQUE|url_absolue)"/>]
[<meta property="og:description"
content="(#INTRODUCTION{150}|attribut_html)"/>]
[<meta property="og:image"
content="#URL_SITE_SPIP/(#LOGO_RUBRIQUE|url_absolue||extraire_attribut{src})"/>]
[<meta property="og:site_name" content="(#NOM_SITE_SPIP|textebrut)"/>]
<meta name="twitter:site" content="@kabulpress" />
<meta name="twitter:creator" content="@kamranmirhazar" />

<!-- Mot Open Graph -->
<meta property="og:type" content="website" />
[<meta property="og:title" content="(#TITRE)"/>]
[<meta property="og:url" content="(#URL_MOT|url_absolue)"/>]
[<meta property="og:description"
content="(#INTRODUCTION{150}|attribut_html)"/>]
[<meta property="og:image"
content="#URL_SITE_SPIP/(#LOGO_MOT|url_absolue||extraire_attribut{src})"/>]
[<meta property="og:site_name" content="(#NOM_SITE_SPIP|textebrut)"/>]
<meta name="twitter:site" content="@kabulpress" />
<meta name="twitter:creator" content="@kamranmirhazar" />

<!-- Author Open Graph -->
<meta property="og:type" content="website" />
[<meta property="og:title" content="(#NOM)"/>]
[<meta property="og:url" content="(#URL_AUTEUR|url_absolue)"/>]
[<meta property="og:description" content="(#BIO{150}|attribut_html)"/>]
[<meta property="og:image"
content="#URL_SITE_SPIP/(#LOGO_AUTEUR|url_absolue||extraire_attribut{src})"/>]
[<meta property="og:site_name" content="(#NOM_SITE_SPIP|textebrut)"/>]
<meta name="twitter:site" content="@kabulpress" />
<meta name="twitter:creator" content="@kamranmirhazar" />

<!-- Homepage Open Graph -->
<meta property="og:type" content="website" />
[<meta property="og:title" content="(#NOM_SITE_SPIP)"/>]
[<meta property="og:url" content="(#URL_SITE_SPIP|url_absolue)"/>]
[<meta property="og:description"
content="(#DESCRIPTIF_SITE_SPIP|couper{150}|attribut_html)"/>]
[<meta property="og:image"
content="#URL_SITE_SPIP/(#LOGO_SITE_SPIP|url_absolue||extraire_attribut{src})"/>]
[<meta property="og:site_name" content="(#NOM_SITE_SPIP|textebrut)"/>]
<meta name="twitter:site" content="@kabulpress" />
<meta name="twitter:creator" content="@kamranmirhazar" />

Kamran

On Thu, Jun 22, 2017 at 5:44 PM, Kamran Mir Hazar
<mirhazar.kamran@gmail.com> wrote:

Hello,
I couldn’t find info in English on how to integrate open graph in
SPIP. I see a plugin out there with some forum questions in French,
but not English.
Using the og format presented in ogp.me, how can I integrate it in SPIP site?

<meta property="og:url" content=" ?" />
<meta property="og:title" content=" ?" />
<meta property="og:type" content="? " />
<meta property="og:image" content="? " />
<meta property="og:description" content=" ?" />

Thank you
Kamran