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

"Like" logo control on Facebook

Discussion in 'Installation, Upgrade, and Import Support' started by Don, Oct 18, 2010.

  1. Don

    Don Member

    Sorry if this has been asked before.
    I set up the app for my Facebook page and using the 'like' button on my site, ShutterAddict works just fine. The only difficulty I am having is that the resulting Facebook post shows the XenForo logo.

    I would prefer that my own site logo be displayed on Facebook for any 'like' post.

    I traced the path that Facebook is using to access the logo to this:

    So thinking that Facebook is looking for that default file name, I renamed my logo to logo.og.png and replaced the original on my server. I still see the XenForo logo when I hit the 'like' button on a thread. Is the file cached on Facebook? Is there some way to tell Facebook to display a particular file? I have studied the app and don't see any reference to it. Maybe I can alter the template on my side? Any help would be appreciated.
    erich37 likes this.
  2. Andy.N

    Andy.N Well-Known Member

    Good question. I'd like to know this as well.
    There are cases when I post a link on FB and it pull a screenshot that is old. I'd like to refresh the cached image and get the fresh one.
  3. Kristopher

    Kristopher Member

    I had the same problem, when I first started posting, after a couple days all was fine. How long has it been like this? Sometimes it takes awhile.
  4. Don

    Don Member

    Well, it changed today to my Facebook logo, not my website logo. Geez. If anyone has figured out how to designate which graphic to display, please share.
  5. Mark.B

    Mark.B Well-Known Member

    Well for vB3 I had to put my logo in "og" meta tags in the header template.

    Mine looks like this:

    <meta property="og:image" content="http://path/to/logo.gif" />

    No idea if that's how it's done here, but it works for me.
  6. nestor718

    nestor718 Active Member

    The path to the meta image for xF is:

    'default' being the skin name (I guess?). Just FTP your logo as 'logo.og.png' and upon the next cache cycle, FB should update to the new image.

    If you want facebook to pic up any image on the page (and this doesn't always work) remove this from the main (or head) template:

    <meta property="og:image" content="http://yoursite.com/community/styles/default/xenforo/logo.og.png" />
    Once removed, facebook scans the page for thumbnails. This is my preferred method. But what I usually do in case there's no image found on the page, I add an image and set the style to 'display: none;' and then FB still reads that and shows it as an option.
    trilogy33, TimWF and turtile like this.
  7. Don

    Don Member

    Thanks, I'll give it a try.
  8. erich37

    erich37 Well-Known Member

    I was wondering what this XF-logo is for ? Is this XF-logo only being used for FaceBook-app ?
  9. Brogan

    Brogan XenForo Moderator Staff Member

    yaroo and erich37 like this.
  10. erich37

    erich37 Well-Known Member

    can I change the name of the default "logo.og.png" to "myname.og.jpg"

    Do I need to change this somewhere within the ACP as well ? I mean my custom name of the logo ?

    Many thanks,
  11. trilogy33

    trilogy33 Well-Known Member

    Anyone still showing the XF "logo.og.png" to Facebook?
    Is it a Facebook caching thing or...? Because this has got me stumped.
  12. Kier

    Kier XenForo Developer Staff Member

    Facebook has fairly aggressive caching mechanisms - after providing your own og:image it may take several hours for the main Facebook site to recognise it.

    In the meantime, you can test your pages with the URL Linter.
  13. Brogan

    Brogan XenForo Moderator Staff Member

    Have you replaced the default image with one of your own?

    Facebook can take several weeks to update their cache - I read one post by Jaxel which stated 7 weeks.
    Umit likes this.
  14. trilogy33

    trilogy33 Well-Known Member

  15. trilogy33

    trilogy33 Well-Known Member

    Yes, ta Brogan I'd heard that too. Couldn't quite believe it but...
    Then again, I guess it's a low priority task for FB. does jack all for advertising [cough /]
  16. erich37

    erich37 Well-Known Member

    I checked this with my page and at "Info / Image" it does not show any image. Is this supposed to shows the "logo.og.png" or any other image ?
  17. Brogan

    Brogan XenForo Moderator Staff Member

    Umit likes this.
  18. erich37

    erich37 Well-Known Member

    it actually shows my main Logo from my website:

    Debug / Data Source:
    "All images" extracted from all <img> nodes
  19. Brogan

    Brogan XenForo Moderator Staff Member

    Well the source data will depend on the URL you entered.
    Umit likes this.
  20. erich37

    erich37 Well-Known Member

    I entered my main URL.
    which URL should I enter to check whether the "logo.og.png" is up at FB or not ?

Share This Page