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


(Jean-Michel) #1

Hello

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

Example :
https://www.wikibulles.org/sos-ici-paris/302-3884-4596/302-27-0-0

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 ?

Thanks


(Jeff Atwood) #2

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


(Jean-Michel) #3

Thanks

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…
:thinking:

<meta property="og:title" content="1932 - Almanach de Guignol" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://www.wikibulles.org/1932-almanach-de-guignol/306-4483-5482/306-27-1932-0" />
<meta property="og:image" content="https://www.wikibulles.org/fiches/S/ff344c87c0f0.jpg" />
<meta property="og:image:secure_url" content="https://www.wikibulles.org/fiches/S/ff344c87c0f0.jpg" />
<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="https://www.wikibulles.org/1932-almanach-de-guignol/306-4483-5482" />

.
.
.
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="https://doctsf.com/grandlivre/fiche.php?ref=42903" />
<meta property="og:image" content="https://www.doctsf.com/grandlivre/v_rep/42/42903V1.jpg" />
<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="https://www.wikibulles.org/n12-2e-semestre-reliure-coeurs-vaillants-1952-reliures-c339urs-vaillants/75-29-29" />
I removed this line, it’s OK.

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