Marketing Pilgrim's "Social Media" Channel

Sponsor Marketing Pilgrim's Social Media Channel today! Get in front of some of the most influential readers in the Internet and social media marketing industry. Contact us today!

Facebook Opens the Gate All the Way: Go Forth and Embed!



Last month, Facebook gave folks the ability to embed posts on blogs and websites – with a catch. It only worked if the posts came from one of a handful of partners such as People, Mashable and the Huffington Post.

Now, they’ve made the feature available to everyone and they added some nifty upgrades. Like this:

mumford video

Yes, you can now embed posted videos right on your blog page. Only one problem. What you see above is a screen grab. Here’s what it looked like when I pasted in the actual embed code for this post:

(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’));


What did I do wrong? And why is this hard? I’m working on WordPress here, which is one of the most popular blogging platforms and Facebook’s code doesn’t work in this environment?

Let’s try just pasting in the URL:

https://www.facebook.com/photo.php?v=10200120650771638

All of that made an even bigger mess. It added DIV tags to my entire post which I had to strip out by hand in order to maintain control of my formatting.

If you’re not on WordPress, you should have no trouble embedding Facebook posts. And if you can get it to work, people can get the code from your post making it all even more viral.

All you have to do is click the drop-down next to the Like and you should see a code. (Again, you won’t see it here because I had to use an image.)

They also updated the mobile experience with an auto-shrink feature that makes the posts thinner for mobile. It also adds larger Like buttons even people with fat fingers can tap correctly.

I think this is a great idea. I often embed Twitter posts and I’d probably embed Facebook posts. . . . if only I could get it to work.

Do you have a WordPress blog? Try it yourself then let me know if it works. It really should be as easy as copy and paste. So what am I doing wrong?