Facebook Adds New Way to Share Web Content Without Leaving the Page

When Facebook launched the Open Stream API a few months back, it enabled app developers to read and publish to the stream for the first time. That, in turn, has led to a variety of stream publishing applications.

Today, Facebook extended the Stream publishing API to the web via a new JavaScript call that can be used to create widgets that publish to the Facebook Stream without leaving your website. It can be thought of from the user’s perspective as almost like a better “Share” button. Here’s how it works:

Starting today, webmasters are able to implement the new “stream publishing” share button using the new API. If the user is logged in to Facebook, a dialog box will pop up on the site allowing the user to enter a comment before publishing. If the user is not logged in, they’ll be prompted to do so sign in first and then publish the story.

It all happens without any new windows opening or sending the user away from your site. In addition, webmasters can format the feed stories to be published exactly as they’d like. Users will not see a Facebook Connect authorization screen.

All in all, it’s a more seamless “share on Facebook” experience that webmasters should like. For more details, check out the Developer Wiki.

Related Resources: