Step 1: Create a new widget for Facebook Like Box social plugin.
For creating a new widget
Copy an existing widget (In this case calendar widget was copied)
Changing the namespace and the name property in the cs file and changing the inherits in the ascx file will create the new widget.
Step 2: After the new widget is created add the following src to the ascx page of the created widget
Example Source:
<iframe src="http://www.facebook.com/plugins/likebox.php?id=232510780120386&width=240&connections=10&stream=false&header=true&height=287" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:287px;" allowTransparency="true"></iframe>
The src could be obtained from facebook social plugin section.
(http://developers.facebook.com/docs/plugins/)
The id in the above src is the id of the page that is created in the facebook account that you want to link.
The First width and height attributes are used to set the width and height of the plugin in the page.
Step 3:
Login as the administrator and add the widget to the page.
Thursday, August 4, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment