Jump to content

Instagram embedding doesn't work here and on my site


Ramsesx

Recommended Posts

4 minutes ago, newbie LAC said:

What do you want to see with that link?

You can embed posts


https://www.instagram.com/p/Bm3kitcHgwz/

I see, thanks, the error message was misleading me.

It would be cool to have it embedding some images if a link to a instagram account is posted. But it looks like instagram isn't supporting this.

Link to comment
Share on other sites

  • 2 months later...

We use Instagram's oembed endpoint. You can test their URLs yourself here:

https://api.instagram.com/oembed/?url=https://www.instagram.com/coryrichards/

^ Doesn't work

Example working URL: https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/

We don't control which Instagram URLs Instagram will support with their oembed endpoint I'm afraid.

Link to comment
Share on other sites

  • 9 months later...
On 11/7/2018 at 12:03 PM, bfarber said:

We use Instagram's oembed endpoint. You can test their URLs yourself here:

https://api.instagram.com/oembed/?url=https://www.instagram.com/coryrichards/

^ Doesn't work

Example working URL: https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/

We don't control which Instagram URLs Instagram will support with their oembed endpoint I'm afraid.

What’s the embed code to use in Pages custom template with the Instagram post url as field content?

Link to comment
Share on other sites

I'm not sure I know how to answer that.

For the editor, when you paste a link in that we know an oembed endpoint can handle, we send it to that endpoint, and then generally embed the content that the endpoint returns. Look at the "html" property of this JSON object for instance - it has the full HTML to embed:

https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/

Link to comment
Share on other sites

  • 7 months later...
On 8/12/2019 at 11:32 AM, bfarber said:

I'm not sure I know how to answer that.

For the editor, when you paste a link in that we know an oembed endpoint can handle, we send it to that endpoint, and then generally embed the content that the endpoint returns. Look at the "html" property of this JSON object for instance - it has the full HTML to embed:

https://api.instagram.com/oembed/?url=http://instagr.am/p/fA9uwTtkSN/

Hi @bfarber, I would like to embed IGTV videos into Pages just like YouTube videos. For YouTube there is a field option. We give the URL and IPS handles the embedding for us. But for Instagram there is no custom filed settings.

Could you please add this setting for Instagram? If not, how could I call the oembed endpoint outside the editor, in Pages template?

Is there a class to handle the response in Pages and translate into the html to publish?

Link to comment
Share on other sites

1 hour ago, bfarber said:

Do you have an example URL that you want to embed which doesn't automatically embed?

No. The editor embeds perfectly. That's not the issue. There is no issue at all.

What I want is to populate a database with IGTV videos URLs and them display this URLs as embedded videos in my pages. 😊 

 

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...