Social networking has already a hit in the internet now and almost every site has one or the other social networking integration. At least they show the followers and friends for sure.
So why SharePoint stay behind? SharePoint has one very powerful web part, which is content editor web part. Twitter provides a fantastic way to display the list of followers and friend. All you need is internet connection and you are good to go.
Open any page where in you want to show the twitter followers and friends. Add content editor web part. And add the following code.
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<script type="text/javascript" src="http://twitter-friends-widget.googlecode.com/files/jquery.twitter-friends-1.0.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$('#friends').twitterFriends({
debug:1
,username:'sharepointkings'
});
});
</script>
<div id="friends"></div>
<div class="twitter-friends" options="{
friends:1
,username:'sharepointkings'
}"></div>
Replace SharepointKings username to your own name.
And here is the result that you get. Here it is a snap only; however you’ll get animated follower list and friends. Try it in your SharePoint site and you will get the animated list.
No comments:
Post a Comment