Oneboxing thinglink content in discourse topics

(Tobias Eigen) #1

In our community we’re exporing using an online tool called thinglink to generate interactive graphics/video content which can then be embedded in discourse topics. Sadly is not oneboxing properly - the image just looks like a jpg and is not interactive.

Is there some feedback we can give to the thinglink folks to allow oneboxing, or something we can do to make this work on the discourse side?

Here’s an example: Meetings around the world - ThingLink

This is the embed code:

<img style="max-width:100%" src="//;1043138249'" class="alwaysThinglink"/><script async charset="utf-8" src="//"></script>

Which currently looks like this:

(Jeff Atwood) #2

Yes, send them links to the opengraph and oEmbed specs. Use the respective testers to test them. Remember you have to add domains to the whitelist.

(Tobias Eigen) #3

Thanks! I did add domains to the whitelist, did not work.

edit: heh. looks like you’re greying, sir.

(cpradio) #4

What is odd is I see og properties in their site. Also

I seem to be getting a CORS error when it tries to onebox.

(Kane York) #5

If you look carefully at the embed code posted above, there’s a <script> on the end.

(cpradio) #6

Yeah, I did see that, I tried enabling cors for that URL and failed to do so yesterday, but I only tried for 15 minutes or so (that was all the time I had). But I could have been approaching this the wrong way to begin with. :slight_smile:

(Jeff Atwood) #7

Seems like it might work now

In general, when you have “gee, does this onebox?” questions don’t even bother asking here. Go to Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed and check first.