MichaelDeBoey / gatsby-plugin-instagram-embed

Gatsby plugin to add Instagram's embed script.
MIT License
11 stars 7 forks source link

Rendering fails when trying to embed a post #13

Open Kagigz opened 4 years ago

Kagigz commented 4 years ago

What you did:

I installed gatsby-plugin-instagram-embed and added it to the gatsby config.

I then tried to display an instagram post in a component by copying and pasting an embedded post in a component like in the README.

What happened:

First I got an error because at some point the "xmlns:xlink" could not be resolved so I changed it to xmlnsXlink. Then the app was able to build but the rendering failed: image

Problem description:

I don't know how to use this plugin. Copying and pasting the embed post doesn't work as is.

Suggested solution:

Update the README to explain better how to do it.

g-rohit commented 4 years ago

Have you tested the ig embed on any markdown file ?

MichaelDeBoey commented 3 years ago

@Kagigz Can you provide a reproduction repository please?

waldothedeveloper commented 3 years ago

I think that what she might be trying to do is copy/paste HTML on a React Component which accepts JSX.