The Subscribe button for websites works just like the button on Facebook; once clicked the user will begin seeing the public posts of the person they have subscribed to in his or her News Feed. The subscribe action is also shared — allowing others to subscribe directly via the News Feed stories, and further increasing viral distribution.
Facebook Subscribe Button Versions
Replace your own Facebook username in the coding.XFBML version, it uses the JavaScript SDK, and provides more versatility.
<fb:subscribe href=”https://www.facebook.com/prateekb3” width=”450″></fb:subscribe>
For HTML5-compliant markup:
<div class=”fb-subscribe”
data-href=”https://www.facebook.com/prateekb3” data-width=”450″>
</div>
data-href=”https://www.facebook.com/prateekb3” data-width=”450″>
</div>
Iframe version
<iframe src=”https://www.facebook.com/plugins/subscribe.php?
href=http://www.facebook.com/prateekb3
&width=450&appId=APP_ID” scrolling=”no”
frameborder=”0″ style=”border:none; overflow:hidden; width:450px;”
allowTransparency=”true”>
</iframe>
href=http://www.facebook.com/prateekb3
&width=450&appId=APP_ID” scrolling=”no”
frameborder=”0″ style=”border:none; overflow:hidden; width:450px;”
allowTransparency=”true”>
</iframe>
No comments:
Post a Comment