Facebook Debuts 'Subscribe' Plugin For Websites

Facebook officially debuted a subscribe button for websites.

The button works just like the like plugin does on websites, says an entry on Facebook’s developer blog.

As soon as a visitor clicks on the subscribe button, public posts from the profile subscribed to appear in the subscriber’s news feed.

The current version of the subscribe button works with Facebook profiles, not pages.

The subscribe plugin already appears live on Absolute Radio, AllThingsD, ANSA.it, The Daily Beast and Newsweek, Forbes.com, GQ Italia, The Huffington Post, Mashable, Ministry of Sound, MSNBC, NME.Com, TechCrunch, Time.com, Today.com, and the Washington Post.

Sites can add the buttons using XFBML or an iframe. The former uses JavaScript Software Developer Kit, offering more flexibility such as dynamic resizing and real-time capabilities.

Below is an example of an XFBML plugin for subscribing to Mark Zuckerberg’s profile:

<fb:subscribe href="https://www.facebook.com/zuck" width="450"></fb:subscribe>

This is what it looks like in HTML5:

<div
  data-href="https://www.facebook.com/zuck" data-width="450">
</div>

And this is the iframe version of it:

<iframe src="//www.facebook.com/plugins/subscribe.php?
 href=https%3A%2F%2Fwww.facebook.com%2Fzuck
  &amp;width=450&amp;appId=APP_ID" scrolling="no"
  frameborder="0" style="border:none; overflow:hidden; width:450px;"
  allowTransparency="true">
</iframe>

How likely are you to use this new plugin — either as a subscriber or a website?

Related Stories
Mediabistro Course

Web Analytics

Web AnalyticsStarting July 30, master Google Analytics to build traffic and increase sales for your brand! In this course, you'll learn how to use metrics to develop a digital strategy for your business, determine what to look for in analytics reports, use your findings to improve your online initiatives and more. Register now!