title: facebook php-sdk providing same functionality as javascript FB.getLoginStatus
body: <p>I am using javascript sdk to know if user is login and connected to our web-site' application by using FB.getLoginStatus() function.
  I want to know if php-sdk provides me details about the user logged into facebook.
  If user is logged in facebook and connected to our application, i have to make them to directly logged into our site.
  How can this be done using php sdk.</p>
  
  <p>Thanks in advance.</p>