I discovered the WP Embed Facebook WordPress plugin when wanting to copy / paste a Facebook post URL into the WordPress post / page editor and finding that it didn’t embed nicely (and automatically).
For example, when I embed a tweet like this, I just paste the URL onto a new line in the WordPress editor and it looks like this:
Just launched http://t.co/Gd6wwetv6s (WordPress website setup for busy people) pic.twitter.com/GvDApNwZUa
— Nick Davis (@nickcdavis) July 8, 2015
Doing the same with a Facebook link doesn’t have the same effect though (at least at the time of writing).
However by simply installing and activating the WP Embed Facebook plugin I was able to embed a Facebook post in a similar way just by pasting the URL of the Facebook post into the WordPress editor.
To see WP Embed Facebook in action check the following link (and scroll a little):
http://genesiswp.guide/2016-02-05/#showcase
I haven’t tested it for Facebook video, page, event, album or profile embeds. The developer says that you’ll need to set up a Facebook App for at least some of those…
…but it claims it will work for those too and it worked for me for posts without creating a Facebook App.
How to get your Facebook post link
If you’re wondering how do you actually get the individual link for a Facebook post.
Simple hover over the date on the Facebook post you want to grab…
Copy the link from the address bar on the next screen…
Now, paste it into the WordPress editor on a new line wherever you want to use it…
Dependencies
Bear in mind, of course, that if the plugin stops working or you deactivate it, you embedded posts will stop working as well!
For now though it seems a reasonable solution for those wanting to easily embed Facebook posts (and possibly other types of Facebook content) into their WordPress posts or pages.
Alternatives
Don’t want to use a plugin?
It’s possible to embed a Facebook post into WordPress without a plugin but it involves a few extra steps and fiddling with code.
Future native support?
I’m hopeful that at some point in the future WordPress will provide a solution where you can simply paste a Facebook URL straight into the editor, just like a tweet.
For now though it seems like the WP Embed Facebook plugin is the way to go!
Leave a Reply