react-instagram-embed
react-instagram-embed copied to clipboard
Handling Instagram post not found error
Hi, I am using this library in a project where I need to cover error when there is no media on given Instagram URL. I have noticed that library in that situation doesn't call OnFailure function, but instead renders an empty div after it loads. Any suggestions how should this be handled? Thank you in advance!
I'm running into this as well. It seems like undesirable behavior to not call onFailure when the post is not found. @sugarshin is this something you'd accept a pull request to fix?