Facebook launches Subscribe button for websites

By | December 8, 2011, 10:38am PST

Summary: Facebook has launched a Subscribe button for websites. It’s like Twitter’s Follow button, except for Facebook: with one click you can subscribe to the person’s public status updates.

As expected, Facebook has launched a Subscribe button for websites, a social plugin any site owner can add to give visitors the option to subscribe to contributors in one click. For example, if ZDNet were to implement the button, you (the reader) would be able to subscribe to my (the journalist) public Facebook status updates. This is assuming two things happen: I have turned the feature on my Facebook account, and I have let ZDNet put such a button on my articles.

The Subscribe button for websites works just like the recently-added Subscribe button on Facebook; once clicked, the subscriber will begin seeing the public posts of the person they have subscribed to in his or her News Feed, alongside updates from their friends and the Pages they have Liked. Similar to the Like button, the Subscribe button can be easily added using XFBML or an iframe.

The XFBML version uses the JavaScript SDK, and provides more versatility, such as dynamic resizing, and the ability to act on subscribe events in real time. Here’s the XFBML version for my Facebook profile:

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

Here’s the HTML5-compliant version for my profile:

<div class="fb-subscribe"
data-href="https://www.facebook.com/emil.protalinski" data-width="450">
</div>

Here’s the iframe version for my profile:

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

Last but not least, here’s my attempt to actually use the button:






Kick off your day with ZDNet's daily e-mail newsletter. It's the freshest tech news and opinion, served hot. Get it.

Topics

Emil Protalinski has covered the tech industry for five years for multiple publications.

Disclosure

Emil Protalinski

Emil has nothing to disclose.

Biography

Emil Protalinski

Emil Protalinski has covered the tech industry for five years for multiple publications, including Neowin for two years and Ars Technica for three years. He has written 1,000s of articles for both, with a particular focus on scrutinizing Microsoft products and services. Recently, Emil has expanded his coverage to non-Microsoft technologies, including the social networking giant Facebook.

The discussion hasn’t started yet. Why don’t you begin it?

Formatting +
BB Codes - Note: HTML is not supported in forums
  • [b] Bold [/b]
  • [i] Italic [/i]
  • [u] Underline [/u]
  • [s] Strikethrough [/s]
  • [q] "Quote" [/q]
  • [ol][*] 1. Ordered List [/ol]
  • [ul][*] · Unordered List [/ul]
  • [pre] Preformat [/pre]
  • [quote] "Blockquote" [/quote]
ie8 fix

The best of ZDNet, delivered

ZDNet Newsletters

Get the best of ZDNet delivered straight to your inbox

Facebook Activity

White Papers, Webcasts, & Resources
ie8 fix