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

XF 1.2 Facebook Open Graph Logo not shown when sharing

HenrikHansen

Well-known member
#1
I cannot make the Facebook Open Graph Logo be shown on Facebook when sharing.

For the time being, I am using the default setting "styles/default/xenforo/logo.og.png". Any ideas?
 

Martok

Well-known member
#3
I have the same problem on my site.

The dev tools reports an error with the logo.og.png image (too small) but it's 200px square and it even has the logo on the page here: https://developers.facebook.com/tools/debug/og/object?q=http://cliptheapex.com/

No matter what I do I can't resolve it.
How strange. Mine is working just fine.
https://developers.facebook.com/tools/debug/og/object?q=www.seniorgamers.net

It seems an odd error on yours:

Provided og:image is not big enough. Please use an image that's at least 200x200 px. Image 'http://cliptheapex.com/styles/cliptheapex/images/logo.png' will be used instead.
That suggests that it's trying to use another image which isn't big enough so it's using the one at that URL instead.

So instead of using http://cliptheapex.com/styles/cliptheapex/xenforo/logo.og.png
it's using
http://cliptheapex.com/styles/cliptheapex/images/logo.png

I assume you have set the Facebook Open Graph Logo path correctly in Appearance Style Properties > Header and Navigation?

Could it be anything to do with you using your own style and it somehow looking in the wrong place e.g. the default style?
 

Brogan

XenForo moderator
Staff member
#8
I have no idea when it stopped working - I never click the FB buttons :D

I have however just changed the path from @imagePath/xenforo/logo.og.png to styles/cliptheapex/xenforo/logo.og.png

It doesn't appear to have made any difference.

Meh! Who cares.
 
#12
Does this still not work?? i've changed the image in every part of my site, all style templates, it's set to the default but i still get the xenforo image displaying :( There's no xenforo image left in the site.. and it's only an 800kb file the xenforo image - is it generated dynamically or something?
 

Chad

Active member
#13
I'm having a similar problem . Where in XF admin panel would you update the location of the op:graph logo file? I can't find it.

Using the FB debug tool for http://www.talkjesus.com https://developers.facebook.com/tools/debug/og/object/

I fetch new scape info without a problem, except one last thing that just won't kick in. The op:graph image shows default Xenforo pic instead of mine. However, the weird thing is if you click the link, it'll actually show my version (chat icon with 3 people group). It still pulls old XF pic too if I try to post on FB. I've confirmed with XF support it's not them, obviously anyway.

Any idea?
 

Brogan

XenForo moderator
Staff member
#14
It is entirely down to Facebook.
You will have to wait until their server cache updates.

It tool several months for exactly the same problem to resolve on my site.
 

abdfahim

Active member
#15
I have the same problem on my site.

The dev tools reports an error with the logo.og.png image (too small) but it's 200px square and it even has the logo on the page here: https://developers.facebook.com/tools/debug/og/object?q=http://cliptheapex.com/

No matter what I do I can't resolve it.

This Facebook sharing is totally a mess. Apart from the above mentioned issue in my thread pages, I am also getting an error "The 'og:type' property is required, but not present." while checking my base url with "Open Graph Object Debugger". However, the following line is clearly defined (even is visible when I click "See exactly what our scraper sees for your URL" in "Open Graph Object Debugger"!

<meta property="og:type" content="website" />