1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.3 How do I add attachment URL in XF's FB Open Graph?

Discussion in 'Troubleshooting and Problems' started by TheBigK, Jun 17, 2014.

  1. TheBigK

    TheBigK Well-Known Member

    <xen:if is="{$avatar}"><meta property="og:image" content="{$avatar}" /></xen:if>
        <meta property="og:image" content="{xen:helper fullurl, @ogLogoPath, 1}" />
    I want to replace @ogLogoPath with the URL of first image attached in the post. Is there any way to do that?

    I think it will help in letting Facebook pick up the attached image instead of the avatar or default logo.
  2. Brogan

    Brogan XenForo Moderator Staff Member

Share This Page