Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
October 25, 2021 05:02 pm GMT

How To Solve Facebook And Instagram oEmbed Issue In WordPress

Do you have embedded Facebook and Instagram posts in your WordPress site? They might stop working soon; notably the default oEmbed or Embed blocks feature.

In fact, it turns out that as of October 24, there will be a breaking change in the Facebook API. This will block the automatic publication of Facebook and Instagram content on your site. But do not worry! We have the solution to this problem and what we are going to share with you through this article.

What's the matter with Facebook & Instagram Embeds?

So, it all started with a Facebook ad making it clear that all oEmbed requests for Facebook and Instagram content will be deprecated on October 24th, 2020. It must be said that this API is essential for Gutenberg and the WordPress Classic editors default embed feature. It is thanks to her that it is easy to embe videos, pictures, updates, and other content from Facebook and Instagram.

Now, Facebook requires every developer to register an app, and use a client token when getting data from their Graph API for oEmbed content. Which is not an option for the WordPress core team. Instead, it decided to remove Facebook and Instagram embed feature from WordPress core in favor of letting WordPress plugins solve the issue for users (core ticket # 50861).

Concretely, from October 24, Facebook and Instagram embed in your WordPress content will break.

This is what Facebook integrations will look like:

And this is what Instagram integrations will look like:

Read The Full Tutorial.


Original Link: https://dev.to/codewatchers_en/how-to-solve-facebook-and-instagram-oembed-issue-in-wordpress-3mk5

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To