question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Editor: Resolve more oembed URLs (e.g. Facebook posts)

See original GitHub issue

There are some embed links which are not supported yet e.g. Facebook posts.

Note: Facebook post embeds were enabled in https://github.com/TryGhost/Ghost/pull/9803, we still want to enable the <link rel="alternate"> lookup mentioned below to support other providers that may not be listed on https://oembed.com

Steps to reproduce

  1. Open the Koenig Editor
  2. Click on the card menu “+”
  3. Select Facebook embed
  4. Paste a link to a public Facebook post
  5. See that it errors

Plan

There’s a two prong approach to this issue:

  1. Add missing oembed providers to the oembed.com providers list then update the oembed-parser library that Ghost uses
  2. Update our oembed endpoint to fetch the URL and look for a <link rel="alternate" type="application/json+oembed" href="..."> tag when no local lookup is possible

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
kevinansfieldcommented, Aug 25, 2018

@lunaticmonk that’s a different issue 😃 we already have designs for that. This issue is about loading oembed data for providers that we don’t have explicit oembed endpoints for

1reaction
kevinansfieldcommented, Aug 16, 2018

@lunaticmonk the opengraph work is already planned. What could be useful is a PR to https://github.com/iamcal/oembed that adds a Facebook (Post) provider

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix the Facebook oEmbed Issue in WordPress
The easiest way to restore Facebook and Instagram embeds in WordPress is to use the free oEmbed Plus plugin by Ayesh Karunaratne. It...
Read more >
How to Solve the Facebook oEmbed Issue in WordPress ...
Step 1: Install Custom Facebook Feed Pro Plugin · Step 2: Enable the Facebook oEmbeds Feature · Step 3: Embed Facebook Posts on...
Read more >
Facebook oEmbed - Social Plugins
Facebook oEmbed endpoints allow you to get embed HTML and basic metadata for pages, posts, and videos in order to display them in...
Read more >
How to Fix the Facebook and Instagram oEmbed Issue in ...
The easiest and most beginner friendly way to fix the oEmbed issue is to use the Smash Balloon free Instagram Feed plugin, and...
Read more >
Facebook API Change - oEmbed
On October 24. 2020, an API change will cause unauthenticated Facebook and Instagram links across the web to break. To fix broken links...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found