Facebook Embedded Posts are now available to everyone. Anyone can either manually embed the posts from or use official WordPress Plugin for precise control. Unlike Twitter Embedded Posts, about which we wrote many a times, in fact just today; Facebook Embedded Posts for WordPress is practically very easy. Definitely, Twitter Embedded Posts has many other features and possibly should not be compared because the usage style of Twitter and Facebook is fully different.
Facebook Embedded Posts : Official Resources
Facebook Embedded Posts, needs no extra setup other than the minimum needed which most already have configured. The method is exactly the same which Facebook introduced for the News type few website’s official Facebook pages :
1 | https://developers.facebook.com/blog/post/2013/07/31/introducing-embedded-posts/ |
Facebook also offering an official way of using this Facebook Embedded Posts for WordPress dynamically via WordPress Plugin, apart from WordPress repository, you can look at Github source code :
---
1 | https://github.com/facebook/wordpress |
Facebook Embedded Posts for WordPress Guide
It is practically very easy to use Facebook Embedded Posts. First method is to embed a post, is by hovering over the down arrow on the top right of the Facebook post.
Only public posts from Pages and Facebook users can be embedded. If the post is public, click the “Embed Post” option in the drop down menu and from the dialog that pops up, simply copy and paste the code provided in to WordPress post (Text/HTML mode) or anywhere you want.
Second way is described here :
1 | https://developers.facebook.com/docs/plugins/embedded-posts/ |
Include the JavaScript SDK on your page once and copy paste the div code for that post. There is really nothing more to write as there is really nothing new but just the same idea of Twitter is used. Here is a working example :