Closed reuel-freitas closed 1 year ago
hi, I cave the same problem with facebook; it doesn't show up. does anyone know how to fix it?
This now seems to be happening with IG embed as well.
Check the main IG example:
<InstagramEmbed url={imgLink} width={600} dataWith={600} />
Hey y'all. Glad you figured out a solution to this -- this weekend I'll look into building a solution into the library, or at least add something to the docs to account for this
@patodeveloperka Confirm you are using the correct URL for the facebook post. I added instructions for this to another issue (#14), check it out and give it another shot: https://github.com/justinmahar/react-social-media-embed/issues/14#issuecomment-1297458134
Edit: Also updated the readme with instructions here.
@reuel-freitas I can't seem to recreate the issue on my end, and the demo site example is working fine. Any way you could share a link to the code sandbox you're seeing the problem in? FYI the YouTube embed is not my own code, I'm using the react-youtube package to do the heavy lifting there. Maybe codesandbox itself is blocking the embed?
Closing for now. Open a new issue if the problem persists.
I'm using this library in my project, it's a great job. The InstagramEmbed working perfectly, but the YoutubeEmbed is not showing up. I try to put a placeholderImg, and initially it shows the image, and then the comonent disappears. I took some prints for you .