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

XF 1.4 Facebook OG Integration isn't working fine

Daniel-SP

Active member
#1
Guys, I'm facing problems on the facebook open graph thing and its really strange for me.

Using the Object debugger, I tried the following URL of my board: http://promoforum.com.br/threads/technos-30271c-1p-r-139-caixa-e-pulseira-de-aço.615/

The thing is: Even with the OG image rigly loaded as the attachment, when I paste the link to share it, I have two images to share: my main logo and the user's avatar.

Still in obj debugger, you can see that the image on "When shared, this is what will be included" field is my full logo. I have no idea how to solve it, could you help me ?
 

Daniel-SP

Active member
#3
I gave up trying to get mine to work a long time ago.

Sometimes it works.

Sometimes it doesn't.
I found something strange on this case: http://www.promoforum.com.br/threads/banqueta-dobravél-várias-cores-umobili-r-17-90.635/

If you see, the og:image attribute is :
<meta property="og:image" content="http://www.promoforum.com.br/attachments/260/">

Its not an image but, if you enter this url, you will be redirected to the attachment. I don't really see how it happens with some cases and not with others, since I use the same copy/paste image tool to both cases (this case and others that worked)
 

Mike

XenForo developer
Staff member
#4
I don't see that as an og:image at that URL, but the og:image coming from an attachment is from an add-on as XF does not attempt to do that.
 
#5
I don't see that as an og:image at that URL, but the og:image coming from an attachment is from an add-on as XF does not attempt to do that.
Default og logo image automatically resize itself to 191 x 191 even after uploading 200px x 200px image. How do I solve this?

Facebook minimum is 200px by 200px
 

Mike

XenForo developer
Staff member
#6
I'm not sure what you're referring to specifically as my comment was in relation to a specific case. The basic OG logo path is just a URL that you specific; XenForo has no involvement in it. (It does provide an avatar as an OG image option as well and that will be fairly small.)