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

XF 1.5 Xenforo logo showing up in Facebook posts

Discussion in 'XenForo Questions and Support' started by Temery, Sep 3, 2016.

  1. Temery

    Temery Active Member

    Any idea how to fix this?

    image.png
     
  2. Brogan

    Brogan XenForo Moderator Staff Member

  3. Temery

    Temery Active Member

    Thanks. I fixed it, but an hour later only the avatar of the person's post shows up.

    Is there a known but at Facebook's end ?

    I get this when I go to the Facebook debug link:

    Provided og:image URL, http://syracusefan.com/data/avatars/m/0/640.jpg?1314613446 was not valid because it did not meet the minimum size constraint of 200px by 200px.

    This is with the default xenforo graphic.
     
    Last edited: Sep 5, 2016
  4. Mike

    Mike XenForo Developer Staff Member

    That's generally just a warning and can be ignored. We do provide 2 URLs though. The latter is http://syracusefan.com/styles/default/xenforo/logo.og.png which is still the default XF image and what really needs to be changed.

    (BTW, please update your license URLs in your customer area so we have the proper records in place.)
     
  5. Temery

    Temery Active Member

    Not sure what you mean, but I'll give it a shot.
     
  6. Mike

    Mike XenForo Developer Staff Member

    The URL I mentioned is what gets changed if you update the property mentioned in the FAQ. I notice you have multiple styles, so you may need to do that in each style. (Note that FB is just going to see whatever your default is, which appears to be "Mobile Style".)
     
  7. Temery

    Temery Active Member

  8. Mike

    Mike XenForo Developer Staff Member

    Yup, thanks. :)

    I'm not sure that link is relevant. I've looked at both of your sites and the OG Logo is still the XenForo logo. Where did you change the OG Logo style property and what did you set it to?
     
  9. Temery

    Temery Active Member

    For The Boneyard I haven't changed the OG logo. The default OG doesn't show on Facebook.

    For Syracusefan this is what I changed it to. Does it take a while for the change to be set?

    EDIT: The picture above is a xenforo post, and the OG didn't show either.


    image.png
     
  10. Mike

    Mike XenForo Developer Staff Member

    Facebook does some asynchronous loading of images in certain cases. Otherwise, it's mostly down to its decision of what to do.

    In terms of your last screenshot, I suspect you may just need to check the value in other styles as I can see this in the HTML:
    Code:
    <meta property="og:image" content="http://syracusefan.com/styles/default/xenforo/logo.og.png" />
    If it's correct in other styles, then it may be hardcoded in the templates.
     
  11. Temery

    Temery Active Member

    I've done a template search for logo.og.png, and it doesn't show up any where. I've even deleted the file to see if anything changes. Still no luck.
     
  12. Mike

    Mike XenForo Developer Staff Member

    The path isn't normally in the templates -- it comes from that style property. But if you have multiple styles (which you do), you may need to update the value in each of them.
     
  13. Temery

    Temery Active Member

    The FAQ link provide by Brogan mentions it may take weeks due to Facebook caching. That's got to be it.
     
  14. Mike

    Mike XenForo Developer Staff Member

    That refers to once you change it. The value I was referring to is actually coming from your site.

    Looking at it now, it appears to be showing:
    Code:
    <meta property="og:image" content="http://syracusefan.com/" />
    So you have changed something.
     

Share This Page