Useful Snippets

Welcome!


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at Unwanted.cloud

RSS Latest posts from my personal blog


Subscribe to RSS feed


How to fix Instagram and Facebook oEmbeds on your WordPress site in 2021

Stanislav KhromovStanislav Khromov

As of WordPress 5.5.1, you can no longer use Instagram or Facebook embeds in WordPress. This is due to changes in the Facebook oEmbed API requiring all requests to have a valid registered Facebook app with API credentials.

To bring back Facebook and Instagram embeds, you can use the excellent oEmbed Plus plugin, written by Ayesh Karunaratne.

After you install it, go to Settings > Writing in your WordPress admin, where you will find instructions for how to set up a Facebook app and fill out the API key.

Photo by Glen Carrie on Unsplash

Full-stack impostor syndrome sufferer & Software Engineer at Schibsted Media Group

Comments 0
There are currently no comments.