Implemented Twitter Card Meta


Well-known member
I agree. For example, add the following to open_graph_meta template ...
    <xen:if is="{$avatar}"><meta property="twitter:image:src" content="{$avatar}" /></xen:if>
    <meta property="twitter:image:src" content="{xen:helper fullurl, @ogLogoPath, 1}" />
    <meta name="twitter:card" content="summary_large_image" />
    <meta name="twitter:site" content="<site twitter account @name from ACP>" />
    <meta property="twitter:url" content="{xen:raw $url}" />
    <meta property="twitter:title" content="{xen:raw $title}" />
    <xen:if is="{$description}"><meta property="twitter:description" content="{xen:raw $description}" /></xen:if>

Chris D

XenForo developer
Staff member
As of XF 2.0 we add twitter card metadata to join the existing Facebook OpenGraph metadata.