"Like" logo control on Facebook

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.
xlogo.og.webp

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

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.
 
I don't know how your site is set up.
Is your "main URL" a XenForo page or a custom html/php page?

Try entering your main forum page, e.g. xenforo.com/community
 
It's a good job really that I checked this, I was quite happy to wait for Facebook's caching to take up the slack.
But as you can imagine when the Linter returns that "Download" logo you see in my last post, it's worrying me now.
googlesyndication? I want to know where the hell that came from and why it's there. I'm not following the link that's for sure!

Anyways, in the meantime, the plot thickens:
My install is at: public_html/community/
The linter returns these results when http://www.mx5life.com/community is thrown at it...

(note where the "blank" image is pointing to: http://www.mx5life.com/cron.php?1298861083 - which returns a 404)

Image
Titlemx5life Forums
Site URLhttp://mx5life.com/
URLhttp://mx5life.com/community/index.php


EDIT:
http://www.mx5life.com/community/styles/default/xenforo/logo.og.png
Is absolutely spot on and returns the correct logo
logo.og.png
 
I went to your page - see screenshot
are you aware of this? If not, I suggest asking your host to scan your server for issues

I'm aware of it now, thank you. My first thoughts are Zone Alarm has thrown up a false/positive.
"...based on how long the site has been around" - Well, it's a new domain and a new site.
"security certificate" - I dont' employ SSL.

Nevertheless, I've this minute been in touch with the host and:

Chat Content:

Chris: [9:56:51 AM] Security Concern
[9:57:42 AM] Hi, I've been notified recently about a possible security concern on my server: please check this thread here on the XenForo developer's boards: http://xenforo.com/community/threads/like-logo-control-on-facebook.6712/page-2#post-169099
[9:57:59 AM] False positive maybe? Or a real threat? I'm very concerned...
Support: [10:01:38 AM] It does not look to real to me but you may want to upgrade your script to make sure
Chris: [10:03:21 AM] Ok, thank you. I'll get back to the developer's board and investigate further.
 
If you manually change the logo.og.png image it will update on FaceBook, however if you upgrade later you probably overwrite the file. Add this .htaccess file in your styles/default/ folder:

Code:
RewriteEngine on

#Redirect XenForo facebook image to custom image.
RewriteCond %{REQUEST_FILENAME} ^.*xenforo/logo.og.png$
RewriteRule ^(.*)$ facebook_logo.png [L,QSA]
Then place facebook_logo.png in /styles/default/ folder. Of course this only applies if you are using the default style, apache and mod_rewrite.
 
Alternatively, you could just change your style image path and avoid any custom icons and images from being overwritten when upgrading.
 
Thanks guys.
Usually I just do a repack minus the logo, the header logo and stuff and up it to the server, thus avoiding any possible overwrite.
The XF logo is still cached by FB, may take a while as we've discussed. I "think" it's been there from the very start. lol
 
Top Bottom