title: Activate Facebook like and facebook comment on same page
body: <p>Here is my situation. </p>
  
  <p>I have two facebook likes on a single page and a single facebook comment. (using javascript sdk facebook)</p>
  
  <p>I tried to like one of the facebook likes and it opens the facebook login authorization window where i enter my login details. The like works fine for that particular button only. When i click on another like button in the same page, it opens a popup window and closes it suddenly.. But no likes registered for the second button. For the another like button to work, i need to refresh the page... and the same case is with the facebook comments plugin...</p>
  
  <p>Please suggest me a way such that if the user initiates the login using one of the buttons, the other facebook like and the comment will automatically work without the need to refresh the page...I got the clue to refresh the facebook plugins entirely by using
      FB.XFBML.parse();
  But i don't know to attach the above function to the particular event...</p>
  
  <p>Check this url</p>
  
  <p><a href="http://hillarsaare.com/projects/facebook/multi-like/" rel="nofollow">http://hillarsaare.com/projects/facebook/multi-like/</a></p>
  
  <p>Where you can see multiple like buttons on the same page...If you are already logged in through facebook and visit that page, you will be able to like all the posts there...But if you are not logged in and visit that page, clicking one of the like buttons will prompt you to login through facebook and after logging in, you will not be able to like any other posts in the page except that post you clicked like...When you do page refresh, it will work fine...</p>
  
  <p>Thank you</p>