How to fix the broken Facebook and Instagram oEmbed issue in WordPress

On October 24th, 2020, WordPress is removing support for Facebook and Instagram oEmbeds. This will affect millions of WordPress users and result in broken embeds for both Facebook and Instagram posts.

Will this affect you?

Have you ever pasted a link to a Facebook or Instagram post into WordPress and it was automatically converted into an embedded version of the Facebook or Instagram post? If so, this change will affect you. Anytime you share a post or video from one of these social media platforms in WordPress, it is automatically converted into an embedded version of that post (an “oEmbed”).

Why is WordPress removing support for them?

In the past, the Facebook and Instagram oEmbed API endpoints did not require authentication in order for WordPress to access them. A request could be made to the oEmbed endpoint with just the link to the post and it would return the correct embed code to be used. Due to a Facebook and Instagram API update, they are now requiring that any requests to the oEmbed endpoint be authenticated. This means that the request must be associated with a developer app. The token from the developer app can then be used in the API request to get the embed.

What can I do to fix this?

There’s two things you can do:

1) You can register as a Facebook developer, create a Facebook developer app, add the oEmbed product to that app, and then use a third party plugin to pass the tokens from that app into the oEmbed endpoint to get the embed data.

2) Instead of jumping through all those hoops, you can install our free Social Photo Feeds plugin, and the free Social Post Feeds plugin. You can then enable oEmbeds in just a couple of clicks. As we already have an approved developer app integrated into the plugins, then it can be used to power your oEmbeds without any additional steps. No developer account or developer app required.

If you already have our plugins installed and are using the latest version then there’s nothing more you need to do. Our Instagram plugin will automatically power your Instagram oEmbeds and our Facebook plugin will automatically power your Facebook oEmbeds. If you don’t have the plugin installed yet then just follow the directions below:

Directions for fixing Facebook oEmbeds

1) Install the free Social Post Feeds plugin.
2) Click “oEmbeds” in the menu.
3) Click the button on that page to connect your account.
4) That’s it! Your Facebook oEmbeds are now fixed and will continue to work beyond October 24th.

Fix Facebook and Instagram oEmbeds in WordPress
Fixed the broken Facebook and Instagram oEmbeds in WordPress

Directions for fixing Instagram oEmbeds

1) Install the free Social Photo Feeds plugin.
2) Click “oEmbeds” in the menu.
3) Click the button on that page to connect your account. A Facebook account is required as Instagram is a part of Facebook and the oEmbeds are part of the Facebook API.
4) That’s it! Your Instagram oEmbeds are now fixed and will continue to work beyond October 24th.

Our plugins are being recommended as the preferred solution to this issue by WPBeginner, Search Engine Journal, top social media consultants like Mari Smith, and many other industry leaders. We are glad to be able to offer a free and painless solution to help the millions of WordPress users who will be affected by this change.

Technical Support

Still have questions? We are here to help you succeed.

Open a support ticket