• 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

#1
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.
xlogo.og.png

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

I traced the path that Facebook is using to access the logo to this:
...www.shutteraddict.com%2Fforums%2Fstyles%2Fdefault%2Fxenforo%2Flogo.og.png

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.
 

Andy.N

Well-known member
#2
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
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
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.
 

nestor718

Active member
#6
The path to the meta image for xF is:

Code:
http://yoursite.com/community/styles/default/xenforo/logo.og.png
'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:

Code:
<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.
 

erich37

Well-known member
#10
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,
 

Kier

XenForo Developer
Staff member
#12
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.
 

Brogan

XenForo moderator
Staff member
#13
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.
 

trilogy33

Well-known member
#15
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.
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 /]