datapane / datapane

Build and share data reports in 100% Python

Home Page:https://datapane.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Embedding report in medium not working

MGCal opened this issue · comments

commented

System Information

  • OS: Windows
  • Python version: 3.7.1
  • Python environment: pip
  • Using jupyter: true
  • Datapane version: 0.15.4

Bug / Issue

Hello, I'm trying to embed a visualization into a medium article. I've successfully created the report: https://cloud.datapane.com/apps/yklX4vk/my-plot/

When I click on share, I'm see this:

image

If I use that link in medium, I get this:

image

I want to share it this way:

image

Do you know what I'm missing?

Thanks

Thank you for raising this @MGCal ! We'll look into this and update the issue.

Sometimes Medium's API gets a little borked, and I think it caches the embed requests so if it doesn't work the first time it won't in the future.

@MGCal would you be able to try uploading the same plot on another URL and seeing if that fixes it?

commented

Sure. I'll do it right away.

@lanthias I logged into my old Medium account and gave it a go. Seems to be broken for me, at least on my first attempt.

https://medium.com/@shahinrostami/datapane-test-6154507959c1

Screenshot 2022-11-10 at 17 07 02

Not sure if it helps, but it was mentioned that we may need to update Embedly (since moving from datapane.com -> cloud.datapane.com).

commented

I've created another report: https://cloud.datapane.com/apps/E7oKxL7/thisisatest/

But I've got the same result in medium:

image

Let me know if you I can be of any help.

Thanks to both

Thanks, that's helpful.

I've dug into this and there is an incompatibility with our new URL schema and Medium's embed support, so this won't be possible right now. We'll work with Medium to fix it.

In the mean time, would screenshotting the image of your report and linking to the interactive version on Datapane suffice for now?

commented

Sure, I'll do that in the meantime. Thanks for your help guys!

Let me know when you have any news.

I've dug into this and there is an incompatibility with our new URL schema and Medium's embed support, so this won't be possible right now. We'll work with Medium to fix it.

Hi @lanthias has there been any progress on this? I really like datapane and one of the things that drew me to it was the advertised ability to embed interactive plots in medium..

Thanks

Hi there,

Unfortunately we're no longer able to support embedding Datapane Reports in Medium - this is an upstream issue with Medium which they do not seem to be able to fix.

Thanks for reporting the issue, in the meantime we recommend saving your reports as html files and using an iframe to embed them elsewhere.