Display Facebook Online Users in Aspnet

Hi friends, In this article i would like to explain a simple trick to integrate chating popup window in Aspnet for Facebook lovers
First Open the visual studio 2008

Next,select a Aspnet Website and change the name as FacebookChating.aspx
Next,Click on the source page of FacebookChating.aspx
write the following code in the Head section
<script language="javascript" type="text/javascript">;
function poptastic(url)
{
         newwindow=window.open(url,'name','height=500,width=500');  
  if (window.focus) {newwindow.focus()}  
}
</script>
and write the following code in the body section
<div>
<a href="javascript:poptastic('http://www.facebook.com/presence/popout.php');" >Facebook Chating</a>
</div>
That's it..friends.....
developercode
About the Author
Sayyad is a Software Engineer, Blogger and Founder of Developers Code from India.His articles mainly focus on .Net (Web and Windows based applications), Mobile Technologies (Android,IPhone,BlackBerry) and SEO.

Facebook Rss Twitter

Get Weekly News letter of Updates!