OneBox not showing up because we didn't have a populated description field

We are trying to add support for OneBox on some of our domains ( https://makecode.com/_4u98ff3eVU1F or falling duck - Microsoft MakeCode ) to our hosted discourse forum. Both pages are oEmbed/open graph ready (tested in iFramely http://iframely.com/debug?uri=https%3A%2F%2Farcade.makecode.com%2F13217-23381-09800-62258 ).

When I copy the link in the editor, I see the spinner and the call to the /onebox?.. web api which returns 404.

  • we tried to configure the onebox whitelisting but it did not fix the issue.
  • Is there a way to validate a page?

Thanks.

Is there a way to nudge an issue?

Discourse needs an open graph description before it can create a onebox. Looking at the source of https://makecode.com/_4u98ff3eVU1F, the og description is set to
<meta property="og:description" content="">

I think you’ll be able to embed those pages as iframes if you add https://arcade.makecode.com to the allowed iframes Site Setting. You’ll then need to grab the iframe for the page and add it with something like:

<iframe  src="https://arcade.makecode.com/#sandbox:13217-23381-09800-62258" width="600" height="400" ></iframe>
3 Likes

Why didn’t you add a description? I’m curious why you felt this field could be left blank?

The description tag is present and empty. Why should a description be mandatory?

Although we provide an option for a description, our users never fill it up. It’s hard enough to have them name their games. We could have added a placeholder description but we never got around this.

A description fixed it. Thanks for the help.

4 Likes

How can we create a summary of something that has no description? :thinking:

The metadata has a picture and a title which seemed adequate.

Two cents / FWIW — I recall running into this a while back with WordPress, theme didn’t add ‘description’ tag by default so oneboxing wasn’t working. We added it and all working great now. But as a graceful fallback for cases where there’s title + image but no description set, could be worth still oneboxing w/ the info available as it might still be better than nothing.