oEmbed for Instagram broken

We're seeing an error when trying to embed Instagram posts into RichText. This isn't the first time we've encountered an issue like this, there was a similar problem about a month ago detailed in this ticket.

This does appear to be somewhat different from the other ticket, though perhaps related. Just like in the other ticket, when attempting to embed, I'm encountering a JS error:

However when examining the Network call when pasting a URL into the Embed modal, I'm seeing a different response. It makes a request to https://taste.prismic.io/app/oembed?url=https%3A%2F%2Fwww.instagram.com%2Fp%2FCRmHakgJHna%2F&_=1626891979783, and responds:

{
    "title": null,
    "embed": {
        "provider_name": "Instagram",
        "provider_url": "https://instagram.com",
        "error": {
            "message": "(#10) To use 'Oembed Read', your use of this endpoint must be reviewed and approved by Facebook. To submit this 'Oembed Read' feature for review please read our documentation on reviewable features: https://developers.facebook.com/docs/apps/review.",
            "type": "OAuthException",
            "code": 10,
            "fbtrace_id": "AWUq3gHhDdvw3D-RC5i1ZBp"
        }
    }
}

Looks like a permissions issue with Prismic's oEmbed and Instagram.

1 Like

Hello @devon.noeldetilly

Thanks for reaching out to us.

Please provide me with:

  1. Your repository URL.
  2. The UID of the document where you are seeing this issue.
  3. The link you're trying to embed.

Thanks
Priyanka

Hi @Priyanka, this seems to have been fixed since I opened this thread, so I think its probably safe to close. For posterity though, it was effecting all my documents, with any instagram post.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.