How to know what is the problem with onebox for some links?

(Jean-Michel) #1


Onebox goes well on my discourse forums, but links from one of my sites don’t display in onebox.

Example :

I tested with 2 discourse forums, and now on this meta forum.
The target page contain meta tags in header, with all required og: tags.

Debug with Log into Facebook | Facebook
and Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed displays no error.

What info missing ?
An idea ?

Debug or logs about onebox available somewhere ?


(Jeff Atwood) #2

It has no text description therefore it cannot be oneboxed. It must have a text description.

(Jean-Michel) #3


Now with description, onebox is created.
But no title and no image. Tags og:title and og:image are here !
I added also og:image:secure_url and og:image:alt

What’s the problem now ?

It would be usefull to know exactly what onebox want…

<meta property="og:title" content="1932 - Almanach de Guignol" />
<meta property="og:type" content="article" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="og:image:secure_url" content="" />
<meta property="og:image:alt" content="1932 - Almanach de Guignol" />
<meta property="og:description" content="Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum" />
<link rel="canonical" href="" />

In another site, I created this tags, and onebox runs well…
Title and image tags are here, and it works. Above, title and image tags are here so, and it don’t works…
I don’t undestand…

<meta property="og:title" content="Blaupunkt, Audi Delta II (M 330)" />
<meta property="og:type" content="website" />
<meta property="og:url" content="" />
<meta property="og:image" content="" />
<meta property="og:site_name" content="Blaupunkt, Audi Delta II (M 330)"/>
<meta property="og:description" content="Auto-radio Blaupunkt - Audi Delta II (M 330)<BR>Année : 1989-1991"/>

(Jean-Michel) #4

I reply to myself…

It works now.

Image was not displayed in ondebox when I had the header
<link rel="canonical" href="" />
I removed this line, it’s OK.

Now I have to know if this line is needed, ie for social network…