Third party Facebook share - no image

Valter

Active member
Affected version
XenForo 2.0.0 Beta 8
When I click the Facebook share button in thread with picture included (URL), in preview popup it looks nice - title, text, image... everything is there.
But when I submit this and go to my Facebook page there is only text and no picture at all.

In XF 1.5 this worked flawlessly, with same settings, it always picked thread picture and displayed it on the FB page.

What is more strange: If I go to Facebook and paste the thread url there, it fetches image and everything with no problems.

Is this a bug? Any idea? Thanks.
 
You likely want to paste the URL into the Facebook open graph debugger. What's the URL in question?

But I suspect this is related to their comments about doing asynchronous image processing. Given that you mention seeing the image though, that means FB is seeing it so beyond that would really be internal FB determinations.
 
I'm afraid this is likely to be an internal Facebook-type issue. When I pasted the URL in and shared it that way, it did pick it up. As you noted, it's showing in the preview. A separate share didn't pick it up, so the behavior appears to be inconsistent.
 
This is just picking up the image from the page -- presumably the same as in XF1, though that wasn't the out of the box behavior (since you'd usually have an OG logo defined). So really, unless you were using an add-on that changed things in XF1, this would really have to be a FB quirk. Especially as it worked as expected once and didn't work another time (which is something I believe I have actually seen, even with an OG logo once or twice).
 
I don't think there's really much we can do here. If there's no og:image specified, FB will just pick up whatever <img> it things is relevant from the page, but they have caveats about some asynchronous processing if dimensions aren't specified, so I suspect ultimately the issue is related to that.

But given that we're just talking about picking up <img> tags here, there really isn't any difference between XF1 and XF2 in this regard, so it is very likely changes on FB's end.
 
Back
Top Bottom