I dont think so its should be a part of OSQA. But you can easily add it. Check out the right bar in http://www.pakanswers.com. Adding it to question items and answer should be pretty straight forward.
Get FB code from here.
code look like following.
<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fmeta.osqa.net%2Fanswers%2F5691%2Fedit%2F&layout=standard&show_faces=true&width=450&action=like&colorscheme=light&height=80" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:450px; height:80px;" allowTransparency="true"></iframe>
update sidebar

topsidebar code goes like this
<script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script><fb:like id='fb_like' href="http://www.pakanswers.com" width=220 ></fb:like>
<script type='text/javascript'>
var sUrl = window.location;
document.getElementById('fb_like').setAttribute('href', sUrl);
</script>
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php">Share</a><script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share"
type="text/javascript"></script>
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="pakanswers">Tweet</a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
<script src="http://www.stumbleupon.com/hostedbadge.php?s=1"></script>
<br>
###[Login / Register][2]
<script type="text/javascript" src="http://www.google.com/jsapi"></script>
<script type="text/javascript">
google.load('search', '1');
google.setOnLoadCallback(function() {
google.search.CustomSearchControl.attachAutoCompletion(
'xxxxxxxxxx',
document.getElementById('q'),
'cse-search-box');
});
</script>
<form action="http://www.google.com/cse" id="cse-search-box">
<div>
<input type="hidden" name="cx" value="xxxxxx" />
<input type="hidden" name="ie" value="UTF-8" />
<input type="text" name="q" id="q" autocomplete="off" size="31" />
<input type="submit" name="sa" value="Search" />
</div>
</form>
<script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&lang=en"></script>
[1]: http://www.pakanswers.com/upfiles/register_.png
[2]: http://www.pakanswers.com/account/signin/95
and i also added
<meta property="og:image" content="thumbnail_image" />
in base_content with correct url of a image so that while sharing on facebook it should have some pic as thumbnail as shown in following pic.

answered
11 Nov '10, 02:22
affan
231●1●7●14
accept rate:
0%