Useful Snippets


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

RSS Latest posts from my personal blog

Most viewed posts

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

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
Twitter Profile
Visit my other blog

Comments 0
There are currently no comments.