gutenberg icon indicating copy to clipboard operation
gutenberg copied to clipboard

Embedding a public Facebook page

Open thatdevgirl opened this issue 8 years ago • 3 comments

I am able to embed Facebook posts, photos, and videos, but am unable to embed an entire Facebook page. Are there plans to include that functionality in the Facebook embed block?

To Reproduce

  1. Create a new page or post.
  2. Add a Facebook embed block.
  3. Enter a valid URL of a public Facebook page; i.e. https://www.facebook.com/GeorgetownNHS/
  4. An error message is displayed - "Previews for this are unavailable in the editor, sorry!"
  5. Save and view the page.
  6. Only the URL of the Facebook page to be embedded is displayed.

thatdevgirl avatar Oct 01 '18 16:10 thatdevgirl

+1

miguelurtado avatar Oct 03 '18 04:10 miguelurtado

There are plugins that do this and all seem to require an API code from Facebook. There are also certain Facebook setting requirements for pages to be posted publicly on a website. Embedding a Facebook page probably shouldn't be a default feature in Gutenberg.

iamleese avatar Oct 03 '18 15:10 iamleese

I agree with @iamleese; I think this is excellent territory for plugins and I don't think Gutenberg should provide this functionality in the core blocks.

Facebook is known for changing API terms and breaking things (which would be bad for our blocks), but also if it requires an API key I think it's better for a third-party block.

tofumatt avatar Oct 04 '18 20:10 tofumatt