Make WordPress Core

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#48405 closed defect (bug) (invalid)

Facebook URLs no longer embed in Gutenberg blocks

Reported by: pnaw10's profile pnaw10 Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Embeds Keywords:
Focuses: Cc:


[Running WP version 5.2.4 which is not listed as an option in the "version" dropdown menu.]

If I paste a Facebook URL into a blank Gutenburg block, it usually embeds the Facebook post into my WordPress post. Even though it can't preview within the editor for whatever reason, it still appears in the post.

Tonight, that changed. When I paste in a Facebook post URL, it says "Sorry, this content could not be embedded." There are then buttons to "try again" (which only produces the same result) or "Convert to Link," which is useless because if I just wanted a plain link, I would have written some text and just linked it to begin with.

Making matters worse, if I view an older post where an FB embed was previously successful, the space where the post appeared is now just blank. It's as if the embed was never there to begin with. Looks really lame when the previous paragraph introduces the Facebook embed, and then it isn't there.

Change History (5)

#1 @SergeyBiryukov
4 years ago

  • Focuses performance coding-standards removed

#2 @dd32
4 years ago

  • Focuses performance coding-standards added
  • Keywords reporter-feedback added
  • Severity changed from critical to normal

Hey @pnaw10 and welcome back to Trac.

Can you provide an example of a post that doesn't embed? I've just tested using a random public post and that seems to work fine, is it possible that the page or contents visibility settings have changed?

For reference, I tested using and also a non-photo/video "post".

#3 @dd32
4 years ago

  • Focuses performance coding-standards removed

#4 @pnaw10
4 years ago

  • Resolution set to invalid
  • Status changed from new to closed

Please cancel ticket with my sincerest apologies.

Assumed the desired Facebook post URLs were public since they were posted to a business page; it's not often that businesses apply custom privacy to their posts, but apparently these people aren't interested in free publicity outside of Facebook for whatever reason. (I didn't even know it was possible to change privacy for business page posts!)

As for earlier posts where previously-successful embeds were not appearing -- the culprit appears to be Firefox's recently-added "Facebook container" plugin. For the most part, Facebook container is helpful and well-intentioned, but it's preventing Facebook embeds from appearing within pages on websites (like mine) which are not "included" in the container. As soon as I disabled this plugin, the embeds on the older posts appeared once again.

So two different reasons for what I was seeing, both my fault for not troubleshooting further before posting a ticket. Thanks to @dd32 for suggesting I go back to get the URLs for the posts I was trying to embed -- it wasn't until then that I noticed there was a gear/cog icon rather than the globe icon we typically expect to see next to business page posts!

#5 @dd32
4 years ago

  • Keywords reporter-feedback removed
  • Milestone Awaiting Review deleted

No problem @pnaw10!
Thanks for testing and following up :)

Note: See TracTickets for help on using tickets.