Medium oneboxes are broken

(David O'Dea) #1

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:

(Jeff Atwood) #2

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

(David O'Dea) #3

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

(Jeff Atwood) #4

That does look correct, any ideas @techapj?

(Arpit Jalan) #5

This issue is specific to Medium articles…

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

(Arpit Jalan) #6

Created a PR for this:

(Arpit Jalan) #7

PR is merged. Medium oneboxes works fine now:

(Arpit Jalan) closed #8