0

I have a Facebook app with advances access to oEmbed Reads permission. For more than a year now, I've been using the Instagram oEmbed endpoint on Instagram accounts with no issues.

Since a month ago, I started getting Invalid parameter error with response of the sort:

{
    "error": {
        "message": "Invalid parameter",
        "type": "OAuthException",
        "code": 100,
        "error_subcode": 2207047,
        "is_transient": false,
        "error_user_title": "Invalid URL",
        "error_user_msg": "The request parameter 'url' is malformed or does not refer to an embeddable media.",
        "fbtrace_id": "xxxxxxx"
    }
}

When sending requests to https://graph.facebook.com/v16.0/instagram_oembed&url=https://instagram.com/{username}&access_token=xxxxxx

The docs now refers to Instagram posts, which is confusing to me.

Alternatively, using the oembed_page endpoint as per the docs Returns a similar error:

{
  "error": {
    "message": "(#100) Invalid parameter",
    "type": "OAuthException",
    "code": 100,
    "fbtrace_id": xxxxx"
  }
}

Is anyone else having this same issue? Is the oEmbed endpoint specific to posts? How to go about retrieving an Instagram account/page info?

Thanks

3
  • "The docs now refers to Instagram posts, which is confusing to me." - that in turn confuses me, in the opposite direction - because I don't think this was ever meant to embed full user profiles anywhere to begin with. "Is the oEmbed endpoint specific to posts?" - I am pretty sure it is, yes. "How to go about embedding an Instagram account/page?" - I don't think they provide anything for that.
    – CBroe
    Mar 17 at 12:12
  • "Alternatively, using the oembed_page endpoint as per the docs Returns a similar error" - that one is explicitly for Facebook pages, but not IG accounts.
    – CBroe
    Mar 17 at 12:13
  • Thanks for your reply. I used it to get account level info; profile picture url, among other details.
    – KinaneD
    Mar 17 at 12:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy