# Medium oneboxes are broken

**URL:** https://meta.discourse.org/t/medium-oneboxes-are-broken/73893
**Category:** Support
**Created:** [November 11, 2017, 2:27pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893 "2017-11-11T14:27:05Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![kuyashi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuyashi/32/82068_2.png) [@kuyashi](https://meta.discourse.org/u/kuyashi)
#### Post date: [November 11, 2017, 2:27pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/1 "2017-11-11T14:27:05Z")

</div>

Is there a reason why some domains/subdomains don’t appear as a onebox ?  
I have added the domain in the whitelist - makes no difference:

Sample URL:

> **[How I built an app that follows the Stock Market for a freeCodeCamp challenge.](https://www.freecodecamp.org/news/chart-the-stock-market-with-react-redux-react-vis-and-socket-io-18caf312693c)**
>
> By Daniel Deutsch I was working on an app from the FreeCodeCamp curriculum, and thought others might find it interesting. In this article, you can read the full documentation for the building process. Enjoy! “Failure isn’t a necessary evil. In...

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 11, 2017, 6:49pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/2 "2017-11-11T18:49:59Z")

</div>

Probably it has no opengraph or oembed tags on the web page, or they are incorrect. Check the URL in [Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed](http://iframely.com/debug)

---

<div class="post-metadata">

### Author: ![kuyashi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/kuyashi/32/82068_2.png) [@kuyashi](https://meta.discourse.org/u/kuyashi)
#### Post date: [November 11, 2017, 6:54pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/3 "2017-11-11T18:54:59Z")

</div>

Yes, that seems to respond with the usual correct info and thumbnails etc ..

> **[Iframely URL Debugger - Open Graph, Twitter Cards, oEmbed](https://debug.iframely.com?uri=https%3A%2F%2Fmedium.freecodecamp.org%2Fchart-the-stock-market-with-react-redux-react-vis-and-socket-io-18caf312693c)**
>
> Check your URL against Open Graph, Twitter Cards, oEmbed specs. See what other apps see.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [November 11, 2017, 6:56pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/4 "2017-11-11T18:56:52Z")

</div>

That does look correct, any ideas @techapj?

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [November 12, 2017, 12:58pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/5 "2017-11-12T12:58:23Z")

</div>

This issue is specific to Medium articles..

[https://hackernoon.com/practical-functional-programming-6d7932abc58b](https://hackernoon.com/practical-functional-programming-6d7932abc58b)

It seems like Onebox gem is unable to fetch HTML response for Medium articles. Added on my list to look into.

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [December 26, 2017, 4:41pm UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/6 "2017-12-26T16:41:47Z")

</div>

Created a PR for this:

[https://github.com/discourse/discourse/pull/5457](https://github.com/discourse/discourse/pull/5457)

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [December 27, 2017, 2:38am UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/7 "2017-12-27T02:38:33Z")

</div>

PR is merged. Medium oneboxes works fine now:

> **[How I built an app that follows the Stock Market for a freeCodeCamp challenge.](https://www.freecodecamp.org/news/chart-the-stock-market-with-react-redux-react-vis-and-socket-io-18caf312693c?1)**
>
> By Daniel Deutsch I was working on an app from the FreeCodeCamp curriculum, and thought others might find it interesting. In this article, you can read the full documentation for the building process. Enjoy! “Failure isn’t a necessary evil. In...

---

<div class="post-metadata">

### Author: ![techAPJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/techapj/32/342990_2.png) [@techAPJ](https://meta.discourse.org/u/techAPJ)
#### Post date: [December 27, 2017, 2:38am UTC](https://meta.discourse.org/t/medium-oneboxes-are-broken/73893/8 "2017-12-27T02:38:39Z")

</div>


