Home
Blog
Improvements to Embedded Posts

June 11, 2014

Improvements to Embedded Posts

By Dave Capra

Embedded Posts let you add public posts from Facebook to your blog or website. Today, we're introducing a new design, faster load times, and per publisher default widths to make Embedded Posts even better.

A new design that puts visual content first

Posts that include media content such as photos and videos usually get more engagement on Facebook. As a result, we've updated Embedded Posts to display images and videos above the post's text and other content:

<div id="fb-root"></div> <script>(function(d, s, id) { var js, fjs = d.getElementsByTagName(s)[0]; if (d.getElementById(id)) return; js = d.createElement(s); js.id = id; js.src = "//connect.facebook.net/en_US/all.js#xfbml=1"; fjs.parentNode.insertBefore(js, fjs); }(document, 'script', 'facebook-jssdk'));</script>
<div class="fb-post" data-href="https://www.facebook.com/photo.php?fbid=886278518054663&set=a.608143955868122.153058.606721589343692&type=1" data-width="466"><div class="fb-xfbml-parse-ignore"><a href="https://www.facebook.com/photo.php?fbid=886278518054663&set=a.608143955868122.153058.606721589343692&type=1">Post</a> by <a href="https://www.facebook.com/fifaworldcup">FIFA World Cup</a>.</div></div>

Faster load times

Embedded Posts now load up to twice as fast as before. Improved performance makes it easier for you to embed multiple Facebook posts in your story without having to worry about delays.

Per publisher default widths

We now save the width that you set when configuring the embed plugin so that you don't have to set it again for future embeds.

New way to discover posts to embed

  • Join the FB Newswire group - Facebook Newswire is a resource for journalists that aggregates newsworthy public posts from Facebook Pages and people around the world.

We'll continue to invest in Embedded Posts to bring rich Facebook content to your stories across the web. If you have any feedback, please join our Facebook News, Media, and Publishing group.


Get our newsletter

Sign up for monthly updates from Meta for Developers.

Sign up